TCS Company Programming Technical

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;
}

Read Solution (Total 13)

TCS Other Question

What is the output of the following program?
#include
void main()
{
printf("%d",sizeof(5.2));
}
What is the output of:
main( )
{
float a = 5, b = 2 ;
int c ;
c = a % b ;
printf ( "%d", c ) ;
}