COMPUTER PROGRAMMING 2020 - Study24x7

Welcome Back

Get a free Account today !

or

Forgot password?

By Registering, you agree to our Privacy Policy and Terms of use.

study24x7
COMPUTER PROGRAMMING 2020
  • Followers
  • Latest Feeds
  • Articles
  • Question
  • Course
  • About
  • Review
Interests
Computer Programming BCA B.SC/IT B.SC/CS ...

Which of the following cannot be a variable name in C?

A

true

B

friend

C

export

D

volatile

study24x7
Write a comment

Which of the following is not a valid C variable name?

A

float rate;

B

int variable_count;

C

int $main;

D

int number;

study24x7
Write a comment

The format identifier ‘%i’ is also used for _____ data type.

A

int

B

char

C

float

D

double

study24x7
Write a comment

Which of the following is incorrect?

A

 class student{ }; student s;

B

class student{ }; student s[5];

C

class student{ }s;

D

class student{ }s[];

study24x7
Write a comment

How many data members can a class contain?

A

255

B

90

C

77

D

As many as required

study24x7
Write a comment

Size of a class is _____________

A

Sum of the size of all the variables along with inherited variables in the class

B

Size of the largest size of variable

C

Classes doesn’t have any size

D

Sum of the size of all the variables declared inside the class

study24x7
Write a comment

Which among the following is false for a constructor?

A

Constructors are overloaded with different signature

B

Constructors may or may not have any arguments being accepted

C

Constructors doesn’t have a return value

D

Constructors are always user defined

study24x7
Write a comment

What is the additional feature in classes that was not in structures?

A

Data members

B

Static data allowed

C

Public access specifier

D

Member functions

study24x7
Write a comment

Modulus operator (%) can be applied to which of these?

A

Integers

B

Floating - point numbers

C

Both A and B

D

None of These

study24x7
Write a comment

Java language was initially called as ________

A

J++

B

Sumatra

C

Pine

D

Oak

study24x7
Write a comment

Which operation is used as Logical 'AND'

A

Operator-||

B

Operator-&&

C

Operator-&

D

Operator +

study24x7
Write a comment

Which programming language is more faster among these?

A

PHP

B

Java

C

C

D

Visual Basic

study24x7
Write a comment

What is sizeof() in C?

A

Function

B

Operator

C

Macro

D

None of these

study24x7
Write a comment
Ratings
0.0
out of 5
0 Ratings
5 study24x7
 
0.0
4 study24x7
 
0.0
3 study24x7
 
0.0
2 study24x7
 
0.0
1 study24x7
 
0.0
Related Pages

Topline Coaching

1862 followers

General Science and ..

1078 followers

Daily Current Affair..

1023 followers

Learn N Share - Get ..

748 followers

Just Asking - Lets c..

746 followers

SSC CGL 2020 Prepara..

697 followers

General Knowledge An..

678 followers

RAU IAS COACHING

506 followers

UPSC 2020

501 followers

Psychology decoded

493 followers

Reasoning with Rizwa..

484 followers

TARGET SUCCESS

462 followers

GOVERNMENT JOB NOTIF..

457 followers

English with Astute ..

445 followers

Ashok Meena

434 followers

Uphaar Classes - By ..

428 followers

RRB 2020-21 (Railway..

358 followers

Maths

349 followers

UPSC Civil Services ..

328 followers

Learn Advance REASON..

328 followers

Hansraj Academy

276 followers

Study24x7

260 followers