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
What is the general form of function in c?
List some of the static data structures in C?
What is function what are the types of function?
What is declaration and definition in c?
Why clrscr is used after variable declaration?
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
What are variables c?
What are the 5 organizational structures?
Which is better oop or procedural?
What are the characteristics of arrays in c?
Why do we use main function?
Is using exit() the same as using return?
In C language, a variable name cannot contain?
What does emoji p mean?
What are the advantages of c language?