1. What will be the output of the following programs.
a) #include <stdio.h>
Main()
{
Int x=4;
While(x==1)
{
X=x-1;
Printf(ā%dā,x);
--x;
}
}
Answer Posted / satya
Ya.. it is correct...
you initialized the x as Int..
we have to to initialize it as int...
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain is it better to bitshift a value than to multiply by 2?
What is typeof in c?
Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58
Does c have enums?
Dont ansi function prototypes render lint obsolete?
What are the advantages of using Unions?
what are the advantages of a macro over a function?
What is the purpose of the statement: strcat (S2, S1)?
What is realloc in c?
How does sizeof know array size?
If errno contains a nonzero number, is there an error?
What does 1f stand for?
What are the features of the c language?
What are nested functions in c?
What are the scope of static variables?