• 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

Determine Output:void main(){ char string[]="Hello World"; display(string);}void display(char *string){ printf("%s", string);}

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine output:#include<stdio.h>#define clrscr() 100void main(){ clrscr(); printf("%dn", clrscr());}

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine Output:void main(){ char *p="hi friends", *p1; p1=p; while(*p!='\0') ++*p++; printf("%s", p1);}

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of this program on an implementation where int occupies 2 bytes?#include <stdio.h>void main(){ int i = 3; int j; j = sizeof(++i + ++i); printf("i=%d j=%d", i, j);}

TRUE ANSWER : ?
YOUR ANSWER : ?

Who is father of C Language?

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine the Final Output:void main(){ printf("\nab"); printf("\bsi"); printf("\rha");}

TRUE ANSWER : ?
YOUR ANSWER : ?

Which of the following function calculates the square of 'x' in C?

TRUE ANSWER : ?
YOUR ANSWER : ?

What is the output of the following statements?int b=15, c=5, d=8, e=8, a;a = b>c ? c>d ? 12 : d>e ? 13 : 14 : 15;printf("%d", a);

TRUE ANSWER : ?
YOUR ANSWER : ?

What number will z in the sample code given below?int z, x=5, y= -10, a=4, b=2;z = x++ - --y*b/a;

TRUE ANSWER : ?
YOUR ANSWER : ?

Which of the following is the correct way of declaring a float pointer:

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
↑