C Programming Paper 3

  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View C Programming Paper 3 as PDF for free.

More details

  • Words: 183
  • Pages: 3
LIST OF ATTEMPTED QUESTIONS AND ANSWERS

Question

The variable name can have maximum length

Correct Answer 8 characters Your Answer

8 characters

Select The Blank Question ________ is a valid statement to declare a character pointer c. Correct Answer char *c; Your Answer

char *c;

Multiple Choice Multiple Answer Question What will be the output? main(){ char name[10]="String"; int j=strlen(name); puts(name); printf("%d",j);} Correct Answer String , 6 Your Answer

String , 6

True/False Question

Only one comment can be given in a C program

Correct Answer False Your Answer

False

Select The Blank Question Multiple statement of each 'case' should be enclosed within ________ Correct Answer nothing Your Answer

{}

Multiple Choice Single Answer Question Which of the following form is possible to express the real constant Correct Answer Both fractional and exponential forms Your Answer

Both fractional and exponential forms

Multiple Choice Multiple Answer Question Which of the following operators have 2nd priority in operations? Correct Answer + , Your Answer

+,-,%

Multiple Choice Multiple Answer Question Point out the errors if any struct student{ int roll; int course, char duration; }

Related Documents

C Programming Paper 3
November 2019 11
C Programming Paper 4
November 2019 17
C-programming Paper 1
November 2019 8
C-programming-class 3
May 2020 10
C Programming
November 2019 23
C Programming
July 2020 6