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 microsoft. Show all posts
Showing posts with label microsoft. 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
Monday, May 16, 2011
CURRENT AFFAIRS QUIZ MAY 2011 SECOND EDITION | Al-qaeda | fastest super computer | microsoft | Tagore
1. What is the meaning of the word 'Al-Qaeda'?
2. Maria Shriver has announced her separation from a famous
American after 25 years of marriage. Name him?
3. Microsoft buys Skype for $8.5 billion in cash. Who is the CEO of
Skype?
4. Who won the Jawaharlal Nehru award 2011?
5. Which country released a postal stamp to honour Rabindranath
Tagore on the occasion of his 150th birthday anniversary
celebrations on May 7?
6. What does the word 'bhalobasha' mean in Bengali?
7. Manuel Sagovia and Isidro Velazquez are the only persons in the
world who have Ayapaneco. But they refuse to use that. What am I
talking about?
8. Which self-taught seismologist predicted an earth quake in Rome
on May 11 that according to him would shatter more than 2000 years
worth of monumental architecture including colosseum?
9. Who is America's first recipient of a full face transplant?
10. ISRO unveiled a super computer with the kudos of becoming
India's fastest in terms of theoretical peak performance of 220
TeraFLOPs. Name it:
NEW CHIEF MINISTERS
West Bengal - Mamata Banerjee
Tamilnadu - Jayalalithaa
Kerala - Oommen Chandy
Assam - Tharun Gogoi
2. Maria Shriver has announced her separation from a famous
American after 25 years of marriage. Name him?
![]() |
Split apart |
3. Microsoft buys Skype for $8.5 billion in cash. Who is the CEO of
Skype?
4. Who won the Jawaharlal Nehru award 2011?
![]() |
DIRECT ANSWER |
5. Which country released a postal stamp to honour Rabindranath
Tagore on the occasion of his 150th birthday anniversary
celebrations on May 7?
![]() |
The poet par excellence |
6. What does the word 'bhalobasha' mean in Bengali?
7. Manuel Sagovia and Isidro Velazquez are the only persons in the
world who have Ayapaneco. But they refuse to use that. What am I
talking about?
8. Which self-taught seismologist predicted an earth quake in Rome
on May 11 that according to him would shatter more than 2000 years
worth of monumental architecture including colosseum?
![]() |
Hot spot of Europe |
9. Who is America's first recipient of a full face transplant?
10. ISRO unveiled a super computer with the kudos of becoming
India's fastest in terms of theoretical peak performance of 220
TeraFLOPs. Name it:
NEW CHIEF MINISTERS
West Bengal - Mamata Banerjee
Tamilnadu - Jayalalithaa
Kerala - Oommen Chandy
Assam - Tharun Gogoi
Labels:
AWARDS,
isro,
JAWAHARLAL NEHRU,
LANGUAGE,
microsoft,
POLITICS,
skype,
super computer,
tagore,
TECHNOLOGY,
terrorism,
USA
Friday, February 4, 2011
CURRENT AFFAIRS QUIZ FEBRUARY 2011 | SCIENCE & TECHNOLOGY | INTERNET | IT | GOOGLE | FACEBOOK
1. Google has accused Microsoft of cheating after discovering that the search engine of Microsoft named Bing is just displaying the copied results from Google search results. They conducted an investigation named _________________ and detected that for senseless searches like 'hggdfdr' Bing delivers the same results as that of Google. Fill in the blank which is nothing but the name of the operation.
2. The declaration to observe the year 2011 as The International Year of ________ will launch on 2 February, 2011, at the General Assembly Hall in New York City.3.What is the latest version of Google's Android OS which has been specifically optimised for tablets? They aim at ramping up the competition with Apple's iPad.
4. Who is the Sydney-based co-founder of Google Maps who quit his job and joined Facebook recently?
5. Scientists of which university are a step closer to creating a cloaking device after making an object visible to the naked eye disappear for the first time?
They have successfully conducted experiments to make paper clips invisible.
6. Facebook is all set to launch their full-fledged email platform along with @facebook.com addresses for users. How is this revolutionary web email product known within Facebook?
![]() |
Mark Zukerberg |
7. Google recently settled a trademark dispute with Australian business Groggle and got their name changed to Drinkle. Again a new issue has risen. For which TM name Google is involved in dispute?
8.The IPV4 address collection (IP address: 121.66.xx.yy) had 4294967296 IP addresses. All of them were completely distributed recently. Which organisation is responsible for the distribution of IP address and domain names worldwide?
Subscribe to:
Posts (Atom)