#include stdio.h void main() { char a='b'; char *b; char **c; b=&a; c=&b; printf("%c",**c); }
#include stdio.h#include string.hint main(){char str[40];printf (" \n Enter a string to be reversed: ");scanf ("%s", str);printf (" \n After the reverse of a string: %s ", strrev(str));return 0;}
What will be the output of the following program?
#include stdio.hint main (void){int shifty;shifty = 0570;shifty = shifty 4;shifty = shifty 6;printf("the value of shifty is %o",shifty);}
#include stdio.hvoid solve() {int a = 3;int res = a++ + ++a + a++ + ++a;printf("%d", res);}int main() {solve();return 0;}
Determine the output
#includestdio.hmain(){union abc {int a;char cha;}var;var.cha = 'A';printf("%d", var.a);}
#include stdio.hint main(){int x = 30, y = 25, z = 20, w = 10;printf("%d ", x * y / z - w);printf("%d", x * y / (z - w));return (0);}