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
Can you please explain the difference between syntax vs logical error?
What is call by value in c?
What are directives in c?
How can I convert a number to a string?
hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm
Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.
What is auto keyword in c?
If errno contains a nonzero number, is there an error?
Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent
Why is #define used?
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
Can you think of a logic behind the game minesweeper.
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles
What is echo in c programming?
what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?