• 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
Given b=110 and c=20, what is the value of 'a' after execution of the expression a=b-=c*=5?

-10
-110
10
110
450

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What does the following declaration mean?int (*ptr)[10];

ptr is an array of 10 integers
ptr is an pointer to array
ptr is a pointer to an array of 10 integers
ptr is array of pointers to 10 integers

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be output if you will compile and execute the following c code?#include#define max 5void main(){ int i = 0; i = max++; printf("%d", i++);}

0
6
Compiler Error
7
5

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Choose the correct statement.I.   The scope of a macro definition need not be the entire program.II.  The scope of a macro definition extends from the point of definition to the end of the file.III. New line is a macro definition delimiter.IV.  A macro definition may go beyond a line.

II, III and IV
II and III
I and II
I, II and III
I, II, III and IV

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Any C program

None of these
Must contain at least one function.
Needs input data.
Need not contain any function.

ANSWER DOWNLOAD EXAMIANS APP

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

arr[7]
arr{6}
None of these
arr[6]
arr{7}

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
↑