• 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

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

TRUE ANSWER : ?
YOUR ANSWER : ?

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

TRUE ANSWER : ?
YOUR ANSWER : ?

Which operator from the following has the lowest priority?

TRUE ANSWER : ?
YOUR ANSWER : ?

A C variable cannot start with

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));}

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine Output:void main(){ int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; }}

TRUE ANSWER : ?
YOUR ANSWER : ?

Comment on the following pointer declaration?int *ptr, p;

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine Output:void main(){ printf("%p", main);}

TRUE ANSWER : ?
YOUR ANSWER : ?

What is the output of given program if user enter value 99?#include<stdio.h>void main(){int i;printf("Enter a number:");scanf("%d", &i); // 99 is given as input.if(i%5 == 0){printf("nNumber entered is divisible by 5"); }}

TRUE ANSWER : ?
YOUR ANSWER : ?

In an expression involving || operator, evaluationI.   Will be stopped if one of its components evaluates to falseII.  Will be stopped if one of its components evaluates to trueIII. Takes place from right to leftIV.  Takes place from left to right

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
↑