Look at the following code segment and decide which options is/are correct.. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Look at the following code segment and decide which options is/are correct..

#include<iostream> using namespace std; int main() { char m = 4; const char n=5; const char *p= &n; char * const q = &m; //.....options are.. a. n = 6; b. *p = 7; c. p = &m; d. *q = 8;

10th Aug 2017, 3:02 PM
RUNALI PANCHAL
RUNALI PANCHAL - avatar
2 Answers
0
means... it's a... question on assignment.. nptel
10th Aug 2017, 3:14 PM
RUNALI PANCHAL
RUNALI PANCHAL - avatar
- 1
none? or..?
10th Aug 2017, 3:10 PM
Paul