C - Data Types - Discussion

You Are Here :: Home > C > Data Types - Discussion

 



Q.

#include

int main(){
int i;
auto char c;
float f;
printf("%d %c %f",i,c,f);
return 0;
}

A. 0 0 B. 0
C. 1 1 D. Garbage Garbage Garbage

Answer: Option D
Explaination:

Const Indicates that the Variable is of Constant Type and Cannot be modified.num = 10 attempts to modify num in Program Which is Illegal



Discussion

Your Comments Goes here...
NameDiscussion