what will be the output for the following program?
main()
{
char ch = 'k';
char c;
printf("%c",c);
}
Answers were Sorted based on User's Feedback
which will return integer? a) int*s ( ) b) ( int* ) s( ) c) int ( *s ) ( )
what is recursion in C
main() { int i; printf("%d",scanf"%d",&i))//if the input is 12 24 34 then wat will be the output }
Explain what does the function toupper() do?
What is the best organizational structure?
Here is alphabets : abcdefgh 1) how to reverse. as hgfedcba 2) after reversal, how to group them in a pair hg fe dc ba.
On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area
What is the difference between %d and %i?
Is double link list a linear data structure? If Yes, Why?If No, Why?
what would be the output of the following program main() { int a[] = {1,2,3,4,5}; int *ptr = {a,a+1,a+2,a+3,a+4}; printf("%d %d %d %d",a,*ptr,**ptr,ptr); } }
int zap(int n) { if(n<=1)then zap=1; else zap=zap(n-3)+zap(n-1); } then the call zap(6) gives the values of zap [a] 8 [b] 9 [c] 6 [d] 12 [e] 15
void swap(int a,int b) { a=a+b; b=a-b; a=a-b; } in this code always gives the same result for all case