• 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
When a function is recursively called all the automatic variables are stored in a ..........

Linked list
Stack
Queue
Array
Register

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following function calculates the square of 'x' in C?

power(x, 2)
pow(x, 2)
power(2, x)
sqr(x)
pow(2, x)

ANSWER DOWNLOAD EXAMIANS APP

C Programming
The recursive functions are executed in a ...........

Random order
Parallel order
Last In First Out order
Iterative order
First In First Out order

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine output of the following program code.#includevoid main(){ int a, b=7; a = b<4 ? b<<1 : ++b>4 ? 7>>1 : a; printf("%d %d", a, b);}

8 3
3 7
None of these
7 3
3 8

ANSWER DOWNLOAD EXAMIANS APP

C Programming
An array elements are always stored in ________ memory locations.

Sequential and Random
None of these
Random
Sequential

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Consider the following program fragment:for(c=1, sum=0; c <= 10; c++){ scanf("%d", &x); if( x < 0 ) continue; sum += x;}What would be the value of sum for the input 1, -1, 2, -2, 3, -3, 4, -4, 5, -5

10
15
30
-5
1

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
↑