What are pointers? What are stacks and queues?
union { char ch[10]; short s; }test; test.s = 0xabcd; main() { printf("%d",ch[10]); }
Explain the use of fflush() function?
int i; i=2; i++; if(i=4) { printf(i=4); } else { printf(i=3); } output of the program ?
Multiply an Integer Number by 2 Without Using Multiplication Operator
write a program to check whether a given integer is a strong number or not? [Hint: 145=1!+4!+5! =1+24+120 =145]
Find the O/p of the following 1) #include int main() { char c='1'; int j=atoi(c); }
10. Study the code: void show() main() { show(); } void show (char *s) { printf("%sn",s); } What will happen if it is compiled & run on an ANSI C Compiler? A)It will compile & nothing will be printed when it is executed B)it will compile but not link C)the compiler will generate an error D)the compiler will generate a warning
1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if
What are # preprocessor operator in c?
What do you mean by dynamic memory allocation in c? What functions are used?
Write a code of a general series where the next element is the sum of last k terms.
Write a program to enter the name and age. If age>28 then find salary categories. if age<28 then find that you are gaduate or not.