• 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(){ int const *p=5; printf("%d", ++(*p));}

TRUE ANSWER : ?
YOUR ANSWER : ?

What is the base data type of a pointer variable by which the memory would be allocated to it?

TRUE ANSWER : ?
YOUR ANSWER : ?

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

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);}

TRUE ANSWER : ?
YOUR ANSWER : ?

The function sprintf() works like printf(), but operates on ..........

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine Output:void main(){ int i=0; for(;i++;printf("%d", i)); printf("%d", i);}

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of the program?#include<stdio.h>#define int char void main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));}

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine output:void main(){ int i=0, j=1, k=2, m; m = i++ || j++ || k++; printf("%d %d %d %d", m, i, j, k);}

TRUE ANSWER : ?
YOUR ANSWER : ?

Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements?

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
↑