• 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

C Programming
What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);}

infinity loop
no output
3 2 1
3 2 1 0

ANSWER DOWNLOAD EXAMIANS APP

C Programming
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);}

None of these
65486, 65488
65486, 65490
65486, 65487
65486, 65486

ANSWER DOWNLOAD EXAMIANS APP

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

Equality operators
Relational operators
Logical operators
Arithmetic operators

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine output:main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);}

9
None of these.
11
10

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC");

Compilation Error
-1
1
0
33

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the following program?#include#define square(x) x*x void main(){ int i; i = 64/square(4); printf("%d", i); }

64
4
None of These
16

ANSWER DOWNLOAD EXAMIANS APP
MORE MCQ ON C Programming

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
↑