Go through the following code sinippet
char a[20];
a="Hello Orcale Test";
will this compile?
Answer Posted / vikraman.j
Compile time err wil occur;
We can use *a="Hello Orcale Test" or a[20]="Hello Orcale
Test";
It will lead the prg nice.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is oops c?
Differentiate fundamental data types and derived data types in C.
How can I invoke another program or command and trap its output?
What does the error message "DGROUP exceeds 64K" mean?
What is a substring in c?
What is keyword with example?
What is pointer to pointer in c with example?
What are header files in c programming?
What is a nested formula?
How can you return multiple values from a function?
Give basis knowledge of web designing ...
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
What is a dynamic array in c?
Explain how can I prevent another program from modifying part of a file that I am modifying?
Why do we use null pointer?