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 |
How is a pointer variable declared?
What is meant by recursion?
char S; char S[6]= " HELLO"; printf("%s ",S[6]); output of the above program ? (0, ASCII 0, I,unpredictable)
Write a c program to read a positive number and display it in words.? ex: 123=one two three help me....
how is the examination pattern?
Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings
what does the following code do? fn(int n,int p,int r) { static int a=p; switch(n){ case 4:a+=a*r; case 3:a+=a*r; case 2:a+=a*r; case 1:a+=a*r; } } a.computes simple interest for one year b.computes amount on compound interest for 1 to 4 years c.computes simple interest for four year d.computes compound interst for 1 year
1.find the second maximum in an array? 2.how do you create hash table in c? 3.what is hash collision
What does the file stdio.h contain?
Write a program to enter the name and age. If age>28 then find salary categories. if age<28 then find that you are gaduate or not.
What is volatile in c language?
What are comments and how do you insert it in a C program?