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 reserved words?
Explain the use of bit fieild.
Is array name a pointer?
what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9
What are the advantages of union?
Once I have used freopen, how can I get the original stdout (or stdin) back?
what will be the output for the following main() { printf("hi" "hello"); }
Under what circumstances does a name clash occur?
Can we assign string to char pointer?
What do you mean by Recursion Function?
Can a function argument have default value?
a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler
What does #pragma once mean?
What are the advantages and disadvantages of a heap?
What is LINKED LIST? How can you access the last element in a linked list?