What is output of the following program ?
main()
{
i = 1;
printf("%d %d %d\n",i,i++,i++);
}
Answers were Sorted based on User's Feedback
Answer / chandrakala
error: i doesn't declared in a correct way
int i=1
Is This Answer Correct ? | 0 Yes | 0 No |
Explain how can I convert a number to a string?
What is the scope of static variables in c language?
write a program to print %d ?
Without using main fn and semicolon,print remainder for a given number in C language
What is the difference between void main and main in c?
Do you know null pointer?
Explain what is wrong with this program statement? Void = 10;
Define a structure to store roll no, name and marks of a student. Using the structure of above write a ‘C’ program to create a file “student.dat”. There must be one record for every student in the file. Accept the data from the user.
print pattern 1 1 33 33 555 555 77777777 555 555 33 33 1 1
Can math operations be performed on a void pointer?
What is getch?
What is function prototype in c with example?