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 would be an example of a structure analogous to structure c?
What is variable in c example?
Why is a semicolon (;) put at the end of every program statement?
What is zero based addressing?
Are the expressions * ptr ++ and ++ * ptr same?
What is meant by gets in c?
What do you mean by a sequential access file?
Explain what is output redirection?
How can you check to see whether a symbol is defined?
What is the difference between int main and void main in c?
Write a program to implement queue.
What are disadvantages of C language.
What is volatile variable in c with example?
What are global variables and how do you declare them?
What is the difference between text files and binary files?