How to add two numbers without using semicolon at runtime

Answers were Sorted based on User's Feedback



How to add two numbers without using semicolon at runtime..

Answer / myfriend_shankar

#include<stdio.h>
#include<conio.h>
void main()
{
if(printf("9+1= %d ",9+1))
{}
}

Is This Answer Correct ?    15 Yes 4 No

How to add two numbers without using semicolon at runtime..

Answer / snehal sawant

#include<stdio.h>
void main()
{
while(!printf("11+20= %d ",11+20))
{
}
}

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

What is infinite loop?

0 Answers  


Which function in C can be used to append a string to another string?

0 Answers  


Why we not create function inside function.

0 Answers  


how to create c progarm without void main()?

1 Answers   NIIT,


Can we access array using pointer in c language?

0 Answers  






#include<stdio.h> #include<conio.h> struct stu { int i; char j; }; union uni { int i; char j; }; void main() { int j,k; clrscr(); struct stu s; j=sizeof(s); printf("%d",j); union uni u; k=sizeof(u); printf("%d",k); getch(); } what is value of j and k.

2 Answers   Facebook,


int i=~0; uint j=(uint)i; j++; printf(“%d”,j);

1 Answers  


the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?

0 Answers  


Find errors (1) m = ++a*5; (2) a = b ++ -c*2; (3)y = sqrt (1000);

5 Answers  


enum day = { jan = 1 ,feb=4, april, may} what is the value of may? a)4 b)5 c)6 d)11 e)none of the above

8 Answers   HCL, Wipro,


Is swift based on c?

0 Answers  


What is a shell structure examples?

0 Answers  


Categories