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-55
main()
{
char * strA;
char * strB = “I am OK”;
memcpy( strA, strB, 6);
printf("%s",strA);
}
a. Runtime error.
b. “I am OK”
c. Compile error
d. “I am O”
Answer: D
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment