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 |
When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd
What is string function in c?
a=0; while(a<5) printf("%d\n",a++); how many times does the loop occurs? a.infinite b.5 c.4 d.6
what does static variable mean?
Lists the benefits of c programming language?
#include<stdio.h> void main() { int a,b,c; a=b=c=1; c=++a || ++b && ++c; printf("%d\t%d\t%d",a,b,c); }
Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.
what will be the output for the following program? main() { char ch = 'k'; char c; printf("%c",c); }
Main must be written as a.the first function in the program b.Second function in the program c.Last function in the program d.any where in the program
19 Answers CTS, HCL, TCS,
Explain what are bus errors, memory faults, and core dumps?
How can I find the day of the week given the date?
What is a memory leak in structures? How can we rectify that?