You are on page 1of 4

The C Language was Developed In the year of?

1972

The C Language has been developed at?


AT&T Bells Labs, USA
The C Language is an offspring of the?
“B” Language
What is the Different between Complier and Interpreter?
Complier Complete Program into one Stroke
Interpreter One line at a time
What are the types of Integers Data type?
Short and Long
Signed and Unsigned
What is the Range of Unsigned Char data type?
0 to 255
What is the ASCII Value of V and p letter?
V=86
P(small letter)=116 (A=65 and a=97)
What is the First Priority of operators and their Clubbing in c ?
() Function Call
[] Square Bracket
-> Structure operator
. Dot operator
What is the Main Uses of sscanf() and sprintf() Function?
Sscanf ()—Read the character form character array and writes them to another Array
Sprintf () ---Writes the values of any data type to an areray of Characters
The typedef Statement is used to?
Declaring user defines data type
Which Function is used to invoke the DOS in c?
System (“dir”);
Feof()Which Function is used to Detect the End of file ?

Which is return the string length and not a strlen() .


Printf()

#include<stdio.h>
void main()
{
int cse;
va=printf("Gracecomputer\n\n");
printf("%d",cse);

What is the out of the Program ? 15


String Always End with? And not NULL finds the Character?
‘\0’
What is the Ans for Following Program?
main()
{
main();
}
Answer:
Runtime error: Stack overflow.
Printf can be implemented by using __________ list.
Answer:
Variable length argument lists

What is the first Name of Java and when it named as “JAVA”


Oak and 1995
Java has been Developed By ?
James Gosling and Patrick Naughton (Sun Micro Systems)
Programming in JAVA is easier than C ++ Why ?
Or
Compare to C++ some techniques is not there in Java What is that ?
Pointers
Operator Overloading
Without Class we can Write Java Program How?
Quest is wrong(with out class we can’t write a java program)

What is the Main use of Wrapper Classes?


To convert the Primitive data types into object type9
2) Which is the parameter that is added to every non-static member function when it is
called?
Answer:
‘this’ pointer
. List out some of the object-oriented methodologies.
Answer:
 Object Oriented Development (OOD) (Booch 1991,1994).
 Object Oriented Analysis and Design (OOA/D) (Coad and Yourdon 1991).
 Object Modelling Techniques (OMT) (Rumbaugh 1991).
 Object Oriented Software Engineering (Objectory) (Jacobson 1992).
 Object Oriented Analysis (OOA) (Shlaer and Mellor 1992).
. Name some pure object oriented languages.
Answer:
 Smalltalk,
 Java,
 Eiffel,
 Sather.
. Define a way other than using the keyword inline to make a function inline.
Answer:
The function must be defined inside the class.

When will we have a C++ standard?


We have one! The final technical vote took place November 14, 1997, about 10:30am. See
a press release from the ISO C++ standards committee. After the technical vote, the
standard was ratified in 1998 by a 22-0 national vote. The standard is ISO/IEC 14882. A
minor revision was issued in 2004; see my C++ page.

What is the first Name of C++ ?


C with class

Why doesn't C++ have garbage collection?

You might also like