• 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 is the output of the following statements?int i = 0;printf("%d %d", i, i++);

1 0
None of these
1 1
0 1
0 0

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
World
None of these
Hello World
Hello

ANSWER DOWNLOAD EXAMIANS APP

C Programming
int a[5] = {1,2,3}What is the value of a[4]?

Garbage Value
0
3
1
2

ANSWER DOWNLOAD EXAMIANS APP

C Programming
The library function used to find the last occurrence of a character in a string is

strnstr()
laststr()
None of these
strrchr()
strstr()

ANSWER DOWNLOAD EXAMIANS APP

C Programming
The address operator &, cannot act on

Arithmetic expressions
R-values
Members of a structure
Local variables
Both of the above

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the correct output of the following program?#includevoid main(){ char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev);}

Syntax error
NOITANIMAXE
NOITANIMAXE C
No output at all.
C

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
↑