• 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

The default parameter passing mechanism is

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine Output:#include<stdio.h>void main(){ char s[]={'a','b','c','n','c','\0'}; char *p, *str, *str1; p=&s[3]; str=p; str1=s; printf("%c", ++*p + ++*str1-32);}

TRUE ANSWER : ?
YOUR ANSWER : ?

Choose the correct output for the following program.#include<stdio.h>void main(){ int a=10, b=11, c=13, d; d = (a=c, b+=a, c=a+b+c); printf("%d %d %d %d", d, a, b, c);}

TRUE ANSWER : ?
YOUR ANSWER : ?

Find the output of the following program.#include<stdio.h>void main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);}

TRUE ANSWER : ?
YOUR ANSWER : ?

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

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine Output:void main(){ static int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);}

TRUE ANSWER : ?
YOUR ANSWER : ?

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

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of the given program?#includevoid main(){float num=5.6;switch(num){case 5:printf("5");case 6:printf("6");default : printf("0");break;}printf("%d", num);}

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here}

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be printed after execution of the following program code?main(){ printf("\\nab"); printf("\\bsi"); printf("\\rha"); }

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
↑