If you want to get placed in software companies after your B.Tech/Engineering degree education, you must be handy with programming languages. C is the pioneer of many programming languages namely C#, D, Go, Rust, Java, JavaScript, Limbo, LPC, Perl, PHP, Python, and Unix's C shell. It's essential to know the simple one word answers to the most frequently asked questions in interviews. Remember, interviewers often test your basic knowledge before leaping into advanced problems.
1. Which are the derived data-types in C?
Ans: Function, Array and Pointer.
2. What is size of long double in x86 architecture?
Ans: 80 bits
3. What is the origin of short int?
Ans: In earlier days memory was very expensive. If the number being used is less than 128, then 1 byte was sufficient. Therefore, instead of using int, short int(8 bits) was used thereby saving memory.
4. What does the following mean in a C program?
expression1? expression2:expression3
Ans: If expression1 is true, expression2 is taken, otherwise expression3 is taken.
5. Distinguish between Lvalue and Rvalue?
Ans: The address associated with a program variable in C is called its Lvalue and the contents at that location are its Rvalue.
6. What would a=printf("Good") return?
Ans: Good4
It assigns a with the number of bytes printed. Here it's four.
7. What does \r mean in a C program?
Ans: Linefeed(Linebreak)
8. To which value does C equate !2 to?
Ans: zero.
! any value except zero =0
9. What would ++(x+y) would return?
Ans: Compiler error.
This happens because ++(x+y) means x+y=(x+y)+1.
Expressions are not allowed on the Left Hand Side(LHS).
10. What would be the result of 8 && 3?
Ans: 1.
&& refers to 'logical AND'.
In logical operation, any value other than zero is considered TRUE(1).
So, TRUE && TRUE ='1'.
Showing posts with label software. Show all posts
Showing posts with label software. Show all posts
Saturday, July 13, 2013
Frequently Asked Questions and Answers for Software Company Interviews in C Programming Language|Viva voce|Technical|Campus Recruitment
Thursday, May 5, 2011
CURRENT AFFAIRS QUIZ MAY 2011 FIRST EDITION | OSAMA BIN LADEN | ANTI-VIRUS INVENTOR | INFOSYS | BIRTH ANNIVERSARY
1. It was a nerve biting commando operation that led to the
end of the world's most feared terrorist, Osama Bin Laden.
US President Barak Obama was stone-faced and Joe Biden
was fingering his rosary beads when they witnessed the
operation in Pakistan.
What was the code name used by the
US officials for Osama Bin Laden?
2. Which title is adorned by Kate Middleton after being married
to Prince Charles?
3. Which fictional character created a furore by renouncing his U.S
citizenship after being caught in the middle of a diplomatic
row between the U.S and Iran?
4. Which Russian software mogul's son was abducted and later
freed as a result of an operation recently? He invented a famous
anti-virus software.
5.On 7th of May we celebrate the 150th birth anniversary of which
renowned Indian?
6. What is the unit of radiation limit (exposure to uclear radiation)?
7. Who is the newly elected chairman of Infosys?
8. Which renowned writer drew flak by comparing Peru's
presidential candidates to cancer and AIDS?
9. Which adept filmmaker was honoured with the Dadasaheb Phalke
award 2011?
10. What is the peculiarity of the place Arecibo in Puerto Rico?
NOTE THE EDITION & CLICK HERE for Answers
DOWNLOAD THE pdf VERSION with ANSWERS
end of the world's most feared terrorist, Osama Bin Laden.
US President Barak Obama was stone-faced and Joe Biden
was fingering his rosary beads when they witnessed the
operation in Pakistan.
What was the code name used by the
US officials for Osama Bin Laden?
2. Which title is adorned by Kate Middleton after being married
to Prince Charles?
3. Which fictional character created a furore by renouncing his U.S
citizenship after being caught in the middle of a diplomatic
row between the U.S and Iran?
4. Which Russian software mogul's son was abducted and later
freed as a result of an operation recently? He invented a famous
anti-virus software.
5.On 7th of May we celebrate the 150th birth anniversary of which
renowned Indian?
6. What is the unit of radiation limit (exposure to uclear radiation)?
![]() |
Fukushima plant |
7. Who is the newly elected chairman of Infosys?
![]() |
8. Which renowned writer drew flak by comparing Peru's
presidential candidates to cancer and AIDS?
9. Which adept filmmaker was honoured with the Dadasaheb Phalke
award 2011?
10. What is the peculiarity of the place Arecibo in Puerto Rico?
NOTE THE EDITION & CLICK HERE for Answers
DOWNLOAD THE pdf VERSION with ANSWERS
Labels:
AWARDS,
business,
disease,
infosys,
OSAMA BIN LADEN,
PHALKE,
ROYAL WEDDING,
software,
terrorism
Subscribe to:
Posts (Atom)