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 oops c?
What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
Explain logical errors? Compare with syntax errors.
What are the different file extensions involved when programming in C?
What does *p++ do?
Which header file is used for clrscr?
Explain what is the benefit of using an enum rather than a #define constant?
What is structure and union in c?
Where are the auto variables stored?
What is the difference between malloc() and calloc()?
Explain null pointer.
The difference between printf and fprintf is ?
What is the description for syntax errors?
What is your stream meaning?
What is static function in c?