How to add two numbers without using semicolon at runtime

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we declare variable anywhere in c?

603


What are the advantages of Macro over function?

1347


What is the difference between class and object in c?

646


Can we assign integer value to char in c?

695


What are directives in c?

607






Explain how can you check to see whether a symbol is defined?

730


Can we increase size of array in c?

600


What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?

1033


write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.

2048


Can we use visual studio for c?

617


How can you call a function, given its name as a string?

766


what are # pragma staments?

1685


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

3567


What are the 5 types of organizational structures?

626


Can a pointer be null?

625