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 the use of typedef in structure in c?
Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
How many identifiers are there in c?
Tell me what is null pointer in c?
What is conio h in c?
What do you mean by a local block?
What are lookup tables in c?
Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant
Describe wild pointers in c?
How can I recover the file name given an open stream or file descriptor?
Are there constructors in c?
What is character constants?
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
What is the use of printf() and scanf() functions?
Tell me can the size of an array be declared at runtime?