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
how to swap two nubers by using a function with pointers?
What are void pointers in c?
struct tag{ auto int x; static int y; };main() { struct tag s; s.x=4; s.y=5; printf(ā%dā,s.x); }
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
What is the right type to use for boolean values in c?
compute the nth mumber in the fibonacci sequence?
10 Answers Canon, HPL, Satyam, TCS,
What is a const pointer?
how to write a data 10 in address location 0x2000
What is pointer to pointer in c with example?
if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above
Print the foll in C...eg when n=5 the o/p must b + + + + + + + + + + + + + + + + +
What is define c?