Java
T
point
Home
Python
Java
JavaScript
HTML
SQL
PHP
C#
C++
DS
Aptitude
Reasoning
Selenium
DBMS
C
Android
Interview Q
Content Menu ▼
1
2
3
4
5
6
7
8
9
10
Question 1
:
What will be the output of the program ?
#include<stdio.h>
int main()
{
int i;
char a[] = " ";
if(printf("%s", a))
printf("The string is not empty ");
else
printf("The string is empty ");
return 0;
}
1.
The string is not empty
2.
The string is empty
3.
No output
4.
0