• 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
Determine Output:void main(){ int i=0; for(;i++;printf("%d", i)); printf("%d", i);}

11
Error
12
1

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

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

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Find the output of the following program.void main(){ int i=065, j=65; printf("%d %d", i, j);}

Syntax error
65 65
53 65
065 65
053 65

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ int i=-1, j=-1, k=0, l=2, m; m = i++ && j++ && k++ || l++; printf("%d %d %d %d %d", i, j, k, l, m);}

0 0 1 2 0
0 0 0 2 1
0 0 1 3 0
0 0 1 3 1

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the following program?#include#define prod(a,b) a*bvoid main(){ int x=3,y=4; printf("%d", prod(x+2,y-1));}

12
10
11
None of these
15

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What is the output of given program if user enter value 99?#includevoid 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"); }}

complier error
Enter a number:99 Number is divisible by 5
Enter a number:99
Run time error

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
↑