main()
{
int i=400,j=300;
printf("%d..%d");
}
Answer Posted / manju
answer is garbage value because in printf statement there
are no variables(i,j).
| Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
What is use of pointer?
What are local variables c?
Where define directive used?
How to Throw some light on the splay trees?
How do you print an address?
Is it better to use malloc() or calloc()?
What does 3 periods mean in texting?
Does c have enums?
the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above
Which is the best website to learn c programming?
What are structures and unions? State differencves between them.
What is the purpose of void in c?
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].
typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none
a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor