Go through the following code sinippet
char a[20];
a="Hello Orcale Test";
will this compile?
Answer Posted / jaisai
No...
Compile time error will occur says
"left operand must be l-value"
alternatively
char *a;
a="Hello Orcale Test";
will compile....
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Explain what are linked list?
What is the meaning of c in c language?
Can 'this' pointer by used in the constructor?
What is c language and why we use it?
What is nested structure with example?
What is data structure in c language?
a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);
What is the difference between a function and a method in c?
What is the difference between fread buffer() and fwrite buffer()?
Describe the order of precedence with regards to operators in C.
What is malloc calloc and realloc in c?
How many keywords (reserve words) are in c?
What is a structure and why it is used?
Why malloc is faster than calloc?
Can i use “int” data type to store the value 32768? Why?