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 the value of b if a=5; b=++a + ++a

31 Answers   Infosys, TCS, Tech Mahindra,


how is the examination pattern?

0 Answers   Wipro,


What is the argument of a function in c?

0 Answers  


What is const volatile variable in c?

0 Answers  


What is typedf?

0 Answers  






Process by which one bit pattern in to another by bit wise operation is?

0 Answers   InterGraph,


what is the advantage of using SEMAPHORES to ORDINARY VARIABLES???

2 Answers   NSN,


what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9

0 Answers  


Wt are the Buses in C Language

0 Answers   Infosys,


Write a routine that prints out a 2-D array in spiral order!

1 Answers   Lucent,


What is difference between union All statement and Union?

0 Answers  


A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers

0 Answers  


Categories