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 |
main() { char *p1="Name"; char *p2; p2=(char *)malloc(20); while(*p2++=*p1++); printf("%s\n",p2); }
Reverse the part of the number which is present from position i to j. Print the new number.[without using the array] eg: num=789876 i=2 j=5 778986
where do we use volatile keyword?
Explain a file operation in C with an example.
which types of data structure will i use to convert infix to post fix???
Explain why c is faster than c++?
34.what are bitwise shift operators? 35.what are bit fields? What is the use of bit fields in a structure declaration? 36.what is the size of an integer variable? 37.what are the files which are automatically opened when a c file is executed? 38.what is the little endian and big endian? 39.what is the use of fflush() function? 40.what is the difference between exit() and _exit() functions? 41.where does malloc() function get the memory? 42.what is the difference between malloc() and calloc() function? 43.what is the difference between postfix and prefix unary increment operators?
What is function what are the types of function?
what are the uses of structure?
what is the structure pointer?
Explain how do you list files in a directory?
#include<stdio.h> main() { int a[3]; int *I; a[0]=100;a[1]=200;a[2]=300; I=a; Printf(“%d\n”, ++*I); Printf(“%d\n”, *++I); Printf(“%d\n”, (*I)--); Printf(“%d\n”, *I); } what is the o/p a. 101,200,200,199 b. 200,201,201,100 c. 101,200,199,199 d. 200,300