• 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:#define clrscr() 100void main(){ clrscr(); printf("%d", clrscr());}

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 output if you will compile and execute the following c code?#include<stdio.h>#define max 5void main(){ int i = 0; i = max++; printf("%d", i++);}

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine Output:void main(){ struct xx { int x=3; char name[] = "hello"; }; struct xx *s = malloc(sizeof(struct xx)); printf("%d", s->x); printf("%s", s->name); }

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of the following program code?#include<stdio.h>void main(){ int i = 10; void *p = &i; printf("%f", *(float *)p);}

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of the program ?#include<stdio.h>void main(){ printf(5+"Good Morningn");}

TRUE ANSWER : ?
YOUR ANSWER : ?

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

TRUE ANSWER : ?
YOUR ANSWER : ?

What is the maximum number of dimensions an array in C may have?

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of the program if the array begins at 65472 and each integer occupies 2 bytes?#includevoid main(){ int a[3][4] = {1, 2, 3, 4, 4, 3, 2, 1, 7, 8, 9, 0}; printf("%u, %u", a+1, &a+1);}

TRUE ANSWER : ?
YOUR ANSWER : ?

In C programming language, which of the following type of operators have the highest precedence

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
↑