why arguments can generally be passed to functions
a) sending the values of the arguments
b) sending the addresses of the arguments
c) a & b
d) none of the above
what will be the output for the following program? main() { char ch = 'k'; char c; printf("%c",c); }
write a program to display the numbers having digit 9 in the given range from 1 to 100
An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode
convert 12345 to 54321 withoutusing strig
Predict the output or error(s) for the following: 25. main() { printf("%p",main); }
What is the difference between File pointer and Internal Charecter Pointer?
how to print a statement in c without use of console statement ,with the help of if statement it should print
write a program to swap bits in a character and return the value prototype of function char fun (char a, charb flag c) where fun returns a char, char a is a the value char b is the bit to be changed and flag c is the bit value for eg: x=fun(45,7,0) since 45 is 0010 0101 and ow x should contain the value 65 (0110 0101)
1 Answers Bosch, College School Exams Tests,
with out using main how to execute the program?
#define FALSE -1 #define TRUE 1 #define NULL 0 main() { if(NULL) puts("NULL"); else if(FALSE) puts("TRUE"); else puts("FALSE"); }
how can i get the output 54321 4321 321 21 1 in c programming........???? pls help......
enum { SUNDAY, MONDAY, TUESDAY, }day; main() { day =20; printf("%d",); getch(); } what will be the output of the above program