A world of Programming- Gsbprogramming
By Er Gurpreet Singh, Senior Software Engineer, Sopra Steria India
Labels
About
ASP.NET
C&Cpp
C#
CSS
GK
Java
Java EE
JQuery
Notes
Oracle apps
OS
Others
PL/SQL
Programming Quiz
SQL
Sunday, 4 January 2015
Programming Quiz-69
main()
{
int i;
for(i=0;i<5;i++)
{
printf("%d\n", 1L << i);
}
}
a. 5, 4, 3, 2, 1
b. 0, 1, 2, 3, 4
c. 0, 1, 2, 4, 8
d. 1, 2, 4, 8, 16
Answer: D
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment