Similar Collections


C evolved from two previous languages, BCPL and B. BCPL was developed in 1967 by Martin Richards as a language for writing operating systems software and compilers. Ken Thompson modeled many features in his B language after their counterparts in BCPL and used B to create early versions of the UNIX operating system. The C language was evolved from B by Dennis Ritchie at Bell Laboratories. C uses many of the important concepts of BCPL and B while adding data typing and other powerful features. C initially became widely known as the development language of the UNIX operating system. C is available for most computers. C is mostly hardware independent.

The publication in 1978 of Kernighan and Ritchie’s book, “The C Programming Language”, enthralled to the language. In 1989, the C standard was approved; this standard was updated in 1999. C99 is a revised standard for the C programming language that refines and expands the capabilities of C, but it has not be universally adopted. It means Not all popular C compilers support C99.Here you will get C Programming Multiple Choice Questions And Answers for you next job or exam

questions

Title
C programming language by itself provides
We can use relational operators as
What is the output? #include int main() { int i = 1; if (i++ && (i == 1)) printf("Yes\n"); else printf("No\n"); }
Find out the Output int fun(char *str1) { char *str2 = str1; while(*++str1); return (str1-str2); } int main() { char *str = "geeksforgeeks"; printf("%d", fun(str)); getchar(); return 0; }
Find out the error #include int main() { display(); return 0; } void display() { printf("IndiaBIX.com"); }
What is the output?#include int main() { int i = 0, j = 0; if (i && (j = i + 10)) //do something ; }
Guess the output #include int main() { int x = 1, y = 0, z = 3; x > y ? printf("%d", z) : return z; }
Find out the error #include struct emp { char name[20]; int age; }; int main() { emp int xx; int a; printf("%d\n", &a); return 0; }
How many times tutorial links are present
Find out the Output int main() { int a = 10.5; printf("%d",a); return 0; }
The declaration "unsigned u" indicates u is a/an
total questions: 55

Questions

55

Views

664

Best Answers

299

Points

5