• 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

Choose the best answer.Prior to using a pointer variable

TRUE ANSWER : ?
YOUR ANSWER : ?

Find the output of the following program.void main(){ int i=10; /* assume address of i is 0x1234ABCD */ int *ip=&i; int **ipp=&&i; printf("%x,%x,%x", &i, ip, *ipp); }

TRUE ANSWER : ?
YOUR ANSWER : ?

The address operator &, cannot act on

TRUE ANSWER : ?
YOUR ANSWER : ?

An array elements are always stored in ________ memory locations.

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine Output:#include<stdio.h>void main(){ register i=5; char j[]= "hello"; printf("%s %d", j, i);}

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine output:main(){ int i = 5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);}

TRUE ANSWER : ?
YOUR ANSWER : ?

Which of the following is not a correct variable type?

TRUE ANSWER : ?
YOUR ANSWER : ?

A function 'p' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine Output:void main(){ char a[]="12345"; int i = strlen(a); printf("%d", ++i);}

TRUE ANSWER : ?
YOUR ANSWER : ?

The operator > and < are meaningful when used with pointers, if

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
↑