• 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's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++)

TRUE ANSWER : ?
YOUR ANSWER : ?

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

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of the program if the array begins at address 65486?#includevoid main(){ int arr[] = {12, 14, 15, 23, 45}; printf("%u, %u", arr, &arr);}

TRUE ANSWER : ?
YOUR ANSWER : ?

In which stage the following code#include<stdio.h>gets replaced by the contents of the file stdio.h

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 : ?

What will be the output of the given program?#include<stdio.h>void main(){ int i=10; printf("i=%d", i); { int i=20; printf("i=%d", i); i++; printf("i=%d", i); } printf("i=%d", i);}

TRUE ANSWER : ?
YOUR ANSWER : ?

The type of the controlling expression of a switch statement cannot be of the type ........

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine Output:void main(){ int i=1, j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; }}

TRUE ANSWER : ?
YOUR ANSWER : ?

Functions have ..........

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
↑