Computer Science & Engineering Multiple Question Answers

Engineering Multiple Question Answers – This is the Computer Science & Engineering (C Programming) multiple questions and answers for various entrance exam, interview or competitive exam.  Declarations and Initializations – C Programming Questions and Answers its help you for computer engineering entrance exam like JEE Main, GATE & other computer engineering entrance test.

What are the types of linkages?

 
 
 
 

Identify which of the following are declarations

1 :           extern int x;

2 :           float square ( float x ) { … }

3 :           double pow(double, double);

 
 
 
 

In the following program where is the variable a getting defined and where it is getting declared?

#include<stdio.h>

int main()

{

extern int a;

printf(“%d\n”, a);

return 0;

}

int a=20;

 
 
 
 

How would you round off a value from 1.66 to 2.0?

 
 
 
 

By default a real number is treated as a

 
 
 
 

Is there any difference between following declarations?

1 : extern int fun();

2 :  int fun();

 
 
 
 

Which of the following is not user defined data type?

1 :

struct book

{

char name[10];

float price;

int pages;

};

2 :           long int l = 2.35;

3 :           enum day {Sun, Mon, Tue, Wed};

 
 
 
 

Is the following statement a declaration or definition?

extern int i;

 
 
 
 

Which of the following special symbol allowed in a variable name?

 
 
 
 

Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ?

 
 
 
 

Question 1 of 10

 

Tags: , , , , , , , , , , , , , , , ,

Related Posts...
Multiple Q&A of Number Series - Logical Reasoning This is the logical reasoning questions and
Post Graduate MD / MS / MDS Admissions for 2016 session Meenakshi University invites applications
Logical Problems - Logical Reasoning Multiple Q&A This is the logical reasoning questions and answers
Logical Reasoning Number Series - Multiple Q&A This is the logical reasoning questions and answers
Calcutta University Phd in Commerce Admission 2016 Department of Commerce, University of Calcutta has invited
Ramakrishna Mission Vivekananda University Admission M.Sc Physics Program 2016 Department of Physics RKM Vivekananda University,
TNPG 2016 Notification | TNPG 2016 Application Form The Directorate of Medical Education, Chennai conducts
NEIGRIHMS Shillong PG Medical Entrance Exam 2016 North Eastern Indira Gandhi Regional Institute of Health

Related Post