#‎include‬<stdio.h>
void main()
{
int i;
for(i=5;0;i++)
{
printf("%d",i);
}
}
Answer Posted / deepika agrawal
an error will be encountered in the begining of the program...
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Is c compiled or interpreted?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
How can I read a binary data file properly?
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
How can I find the modification date and time of a file?
How was c created?
What is the need of structure in c?
What is the main difference between calloc () and malloc ()?
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 ].
Can math operations be performed on a void pointer?
Write a program to swap two numbers without using third variable in c?
What is the purpose of the statement: strcat (S2, S1)?
In a byte, what is the maximum decimal number that you can accommodate?
What is the difference between a function and a method in c?
What is default value of global variable in c?