Skip to content

Tag Archives: C Quiz – 109

Find out the correct statement for the following program. #include "stdio.h"    int * arrPtr[5];    int main() {  if(*(arrPtr+2) == *(arrPtr+4))  {    printf("Equal!");  }… Read More
Find out the correct statement for the following program. #include "stdio.h"    int * gPtr;    int main() {  int * lPtr = NULL;   … Read More
Find out the correct statement for the following program. #include "stdio.h"    typedef int (*funPtr)(int);    int inc(int a) {  printf("Inside inc() %d\n",a);  return (a+1);… Read More
Pick the best statement for the following program. #include "stdio.h"    int foo(int a) {  printf("%d",a);  return 0; }    int main() {  foo;  return… Read More
In the following program snippet, both s1 and s2 would be variables of structure type defined as below and there won’t be any compilation issue.… Read More

Start Your Coding Journey Now!