TCS Company Programming Definition

What is the output of the following program?
#include
void main()
{
printf("%d",sizeof(5.2));
}

Read Solution (Total 15)

TCS Other Question

What is the output of the following program?
#include
int main(){
int c=08;
printf("%d",c);
return 0;
}
What is the output of the following program?
#include
int main(){
double d=5.2;
int i=5;
printf("%dt",sizeof(!d));
printf("%dt",sizeof(i=15/2));
printf("%d",i);
return 0;
}