What is register variable in c language?
main() { int a=0; if(a=0) printf("Ramco Systems\n"); printf("India\n"); } output?
dynamically allocate memory for linear array of n integers,store some elements in it and find some of them
write a program to create a sparse matrix using dynamic memory allocation.
a simple program in c language
b) 4 c) 6 d) 7 32. Any C program a) must contain at least one function b) need not contain ant function c) needs input data d) none of the above 33. Using goto inside for loop is equivalent to using a) continue b) break c) return d)none of the above 34. The program fragment int a=5, b=2; printf(“%d”,a+++++b); a) prints 7 b)prints 8 c) prints 9 d)none of the above 35. printf(“ab” , “cd”,”ef”); prints a) ab abcdef c) abcdef, followed by garbage value d) none of the above 36. Consider the following program segment. i=6720; j=4; while((i%j)==0) { i=i/j; j=j+1; } On termination j will have the value a) 4 b) 8 c) 9 d) 6720
What is an arrays?
application of static variables in real time
How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?
Write a program to swap two numbers without using third variable in c?
what is an inline function?
cin.ignore(80, _ _);This statement a) ignores all input b) ignores the first 80 characters in the input c) ignores all input till end-of-line d) iteration
Here is alphabets : abcdefgh 1) how to reverse. as hgfedcba 2) after reversal, how to group them in a pair hg fe dc ba.