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 |
Give the output for the following program. #define STYLE1 char main() { typedef char STYLE2; STYLE1 x; STYLE2 y; clrscr(); x=255; y=255; printf("%d %d\n",x,y); }
#include<stdio.h> int fun(); int i; int main() { while(i) { fun(); main(); } printf("hello \n"); return 0; } int fun() { printf("hi"); } answer is hello.how??wat is tat while(i) mean?
What is the process to generate random numbers in c programming language?
Explain what is the advantage of a random access file?
What is s or c?
Convert the following expression to postfix and prefix X $ Y Z - M + N + P / Q / (R + S)
One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.
What is scanf () in c?
write a c/c++ program that takes a 5 digit number and calculates 2 power that number and prints it?
compute the nth mumber in the fibonacci sequence?
10 Answers Canon, HPL, Satyam, TCS,
Explain the difference between struct and union.
program for following output using for loop? 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5