What are local static variables? How can you use them?
How can I recover the file name given an open stream or file descriptor?
find the output of the following program main() { int x=5, *p; p=&x; printf("%d",++*p); }
Write a program for the following series: 1*3*5-2*4*6+3*5*7-4*6*8+.................up to nterms
write a program to print sum of each row of a 2D array.
what is the difference between declaration and definition of a variable or function ?
Write a code to generate a series where the next element is the sum of last k terms.
What is structure in c definition?
given the piece of code int a[50]; int *pa; pa=a; to access the 6th element of the array which of the following is incorrect? a.*(a+5) b.a[5] c.pa[5] d.*(*pa + 5)
What are the types of bitwise operator?
Which of the following sorts is quickest when sorting the following set: 1 2 3 5 4 1) Quick Sort 2) Bubble Sort 3) Merge Sort
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
main() { int i = -3,j=2,k=0,m; m= ++i || ++j && ++k; printf("%d%d%d",i,j,k,m); }