int i=~0;
uint j=(uint)i;
j++;
printf(“%d”,j);
Explain what is a static function?
What are multidimensional arrays?
Please list all the unary and binary operators in C.
what will be the output of" printf("%d%d",scanf("%d% d",&a&b));"
write a program to print calender using for loop.
write C code to reverse a string such that if i/p is "abc defg hij klmno pqrs tuv wxyz" and the o/p should be "cba gfed jih onmlk srqp vut zyxw"
In C language what is a 'dangling pointer'?
#define MAX(x,y) (x) > (y) ? (x) : (y) main() { int i = 10, j = 5, k = 0; k = MAX(i++, ++j); printf("%d %d %d", i,j,k); } what will the values of i , j and k? }
14 Answers CDAC, GATE, NDS, TCS,
What is sizeof int in c?
define string ?
Write a Program to print this triangle: * ** * **** * ****** * ******** * ********** use two nested loops.
12 Answers MIT, TCS,
what is the output of the program and explain why?? #include<stdio.h> void main ( ) { int k=4,j=0: switch (k) { case 3; j=300; case 4: j=400: case 5: j=500; } printf (ā%d\nā,j); }