• HOME
  • QUIZ
  • CONTACT US
EXAMIANS
  • COMPUTER
  • CURRENT AFFAIRS
  • ENGINEERING
    • Chemical Engineering
    • Civil Engineering
    • Computer Engineering
    • Electrical Engineering
    • Mechanical Engineering
  • ENGLISH GRAMMAR
  • GK
  • GUJARATI MCQ

C PROGRAMMING QUIZ

Which of following is not a valid name for a C variable?

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine Output:void main(){ printf("%p", main);}

TRUE ANSWER : ?
YOUR ANSWER : ?

Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;}

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of given program?#include<stdio.h>void main(){int a=3;for(;a;printf("%d ", a--);}

TRUE ANSWER : ?
YOUR ANSWER : ?

Which operator has the lowest priority?

TRUE ANSWER : ?
YOUR ANSWER : ?

What is the correct value to return to the operating system upon the successful completion of a program?

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));}

TRUE ANSWER : ?
YOUR ANSWER : ?

#include<stdio.h>void main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);}

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine Output:void main(){ int i=1, j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; }}

TRUE ANSWER : ?
YOUR ANSWER : ?

What is the result of compiling and running this code?main(){ char string[] = "Hello World"; display(string);}void display(char *string){ printf("%s", string);}

TRUE ANSWER : ?
YOUR ANSWER : ?
MORE MCQ

QUIZ STATS

  • 0
  • 0

DOWNLOAD APP

  • APPLE
    from app store
  • ANDROID
    from play store

SEARCH

LOGIN HERE


  • GOOGLE

FIND US

  • 1.70K
    FOLLOW US
  • EXAMIANSSTUDY FOR YOUR DREAMS.
  • SUPPORT :SUPPORT EMAIL ACCOUNT : examians@yahoo.com

OTHER WEBSITES

  • GUJARATI MCQ
  • ACCOUNTIANS

QUICK LINKS

  • HOME
  • QUIZ
  • PRIVACY POLICY
  • DISCLAIMER
  • TERMS & CONDITIONS
  • CONTACT US
↑