Explain what is wrong with this statement? Myname = ?robin?;
Answer / Kamal Singh Gond
The provided statement is incorrect because in C, variables cannot be directly assigned string literals using the '=' operator. To assign a string to a variable, you should use the strcpy() function or concatenation operators (e.g., char myname[20] = {"Robin"};).
| Is This Answer Correct ? | 0 Yes | 0 No |
The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?
Diff: between this 2 classes in terms of memory class A { int i; char c; double d; }; class A { double d; int i; char c; }; How it is calculating?
What are types of preprocessor in c?
in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above
What are called c variables?
while initialization of two dimensional arrays we can initialize like a[][2] but why not a[2][] is there any reason behind this?
WHAT IS ABSTRACT DATA TYPE
All technical questions
I have seen function declarations that look like this
What is difference between union All statement and Union?
1 Answers Beahead Private Limited,
write c program without semicolon
11 Answers MindTech, TCS, Wipro,
What is string function c?