• 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
Which one of the following is not a valid identifier?

examians1
1examians
exam_veda
_examians

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the following program?void main(){ int a, b, c, d; a = 3; b = 5; c = a, b; d = (a, b); printf("c=%d d=%d", c, d);}

c=3 d=5
c=5 d=3
c=3 d=3
c=5 d=5

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the program ?#include#includevoid main(){ char str1[20] = "Hello", str2[20] = " World"; printf("%s", strcpy(str2, strcat(str1, str2)));}

WorldHello
None of these
World
Hello
Hello World

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

1
33
Compilation Error
0
-1

ANSWER DOWNLOAD EXAMIANS APP

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

10
11
9
None of These

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Array passed as an argument to a function is interpreted as

Number of element of the array.
Values of the first elements of the array.
Address of the first element of the array.
Address of the array.

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
↑