What will be the output of the following C code?
#include < stdio.h >
int main()
{
int i = 0, j = 0;
while (i < 5, j < 10)
{
i++;
j++;
}
printf(“%d, %d\n”, i, j);
}
a) 5, 5
b) 5, 10
c) 10, 10
d) Syntax error
Answer: c
Related Posts
Where is metadata stored in MySQL?
What is bytecode?
What programming language(s) or scripting language(s) does Java Server Pages (JSP) support?
Which JDBC driver Type(s) is(are) the JDBC-ODBC bridge?
A JSP is transformed into a(n):
What MySQL property is used to create a surrogate key in MySQL?
Which JDBC driver Type(s) can be used in either applet or servlet code?
Join The Discussion