the output will be
#include<stdio.h>
int main ()
{
int i;
i = 9/2;
printf("%i",i);
return 0;
}
Answer Posted / sumesh
the output of this program will be 4.here i is an integer type not float.
| Is This Answer Correct ? | 17 Yes | 3 No |
Post New Answer View All Answers
Explain the difference between the local variable and global variable in c?
What are the different data types in C?
How can variables be characterized?
What is the data segment that is followed by c?
what is bit rate & baud rate? plz give wave forms
What is the benefit of using #define to declare a constant?
find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2
The file stdio.h, what does it contain?
What are the types of unary operators?
Can we access the array using a pointer in c language?
What is spaghetti programming?
What are the 4 data types?
Is c is a procedural language?
What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }
What is dynamic variable in c?