main()
{
int a=0;
if(a=0) printf("Ramco Systems\n");
printf("India\n");
}
output?
Answer Posted / ripal
The output will produce error because there is error at if
(a=0).It should be if(a==0)
Is This Answer Correct ? | 8 Yes | 7 No |
Post New Answer View All Answers
a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above
is it possible to create your own header files?
Simplify the program segment if X = B then C ← true else C ← false
What is indirection?
Is c still relevant?
Why is c called a mid-level programming language?
struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer
What is difference between union All statement and Union?
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?
What is array in C
Explain Basic concepts of C language?
Why is #define used?
What are conditional operators in C?
What does & mean in scanf?
What is optimization in c?