Discussion Forum : Subleties Of Typedef
Question -


What will be the output of the program?


#include<stdio.h>
int main()
{
typedef int LONG;
LONG a=4;
LONG b=68;
float c=0;
c=b;
b+=a;
printf("%d,", b);
printf("%f\n", c);
return 0;
}
Options:
A .  72, 68.000000
B .  72.000000, 68
C .  68.000000, 72.000000
D .  68, 72.000000
Answer: Option A



Submit Your Solution Below and Earn Points !
Next Question
Submit Your Solution hear:

Your email address will not be published. Required fields are marked *