How to add two numbers without using semicolon at runtime
Answers were Sorted based on User's Feedback
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 |
Answer / snehal sawant
#include<stdio.h>
void main()
{
while(!printf("11+20= %d ",11+20))
{
}
}
Is This Answer Correct ? | 0 Yes | 0 No |
to find the closest pair
What is the scope of static variable in c?
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......
Whether there can be main inside another main?If so how does it work?
what do you mean by defining a variable in our c code?
a=0; b=(a=0)?2:3; a) What will be the value of b? why b) If in 1st stmt a=0 is replaced by -1, b=? c) If in second stmt a=0 is replaced by -1, b=?
#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }
What is the difference between a structure and a union?
write a program to search for an element in a given array. If the array was found then display its position otherwise display appropriate message in c language
Does * p ++ increment p or what it points to?
how to do in place reversal of a linked list(singly or doubly)?
How do I use strcmp?