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 function definition in c?
How do you convert strings to numbers in C?
What is declaration and definition in c?
What's the best way of making my program efficient?
How can I remove the leading spaces from a string?
What is const and volatile in c?
Write a program to print factorial of given number without using recursion?
What is array of pointers to string?
Why is extern used in c?
What is static volatile in c?
How can I invoke another program (a standalone executable, or an operating system command) from within a c program?
What is the symbol indicated the c-preprocessor?
How many types of errors are there in c language? Explain
Explain the difference between malloc() and calloc() function?
What is openmp in c?