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 |
#include<stdio.h> #include<conio.h> # define swap(a,b) temp=a; a=b; b=temp; void main( ) { int i, j, temp; i=5; j=10; temp=0; if( i > j) swap( i, j ); printf( "%d %d %d", i, j, temp); }
How can I read in an object file and jump to locations in it?
Tell us two differences between new () and malloc ()?
Would you rather wait for the results of a quicksort, a linear search, or a bubble sort on a 200000 element array? 1) Quicksort 2) Linear Search 3) Bubble Sort
f1() { f(3);} f(int t) { switch(t); { case 2: c=3; case 3: c=4; case 4: c=5; case 5: c=6; default: c=0;} value of c?
main() { printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3)); } wat is the o/p and how?
main() {int a=200*200/100; printf("%d",a); }
Who is the founder of c language?
Is r written in c?
helllo sir give me some information of the basic information the c as printf ,scanf , %d ,%f and why is the main use of these.
5. What kind of sorting is this: SORT (k,n) 1.[Loop on I Index] repeat thru step2 for i=1,2,........n-1 2.[For each pass,get small value] min=i; repeat for j=i+1 to N do { if K[j]<k[min] min=j; } temp=K[i];K[i]=K[min];K[min]=temp; 3.[Sorted Values will be returned] A)Bubble Sort B)Quick Sort C)Selection Sort D)Merge Sort
what is the output of the following program? #include<stdio.h> void main() { float x=1.1; while(x==1.1) { printf("\n%f",x); x=x-0.1; } }