C
Programming and Technical
undefined
int main()
{
printf(“%s %s”,(“Zoho” “corp”), (“Campus” ”corpp”),(“Zoho” “Corporation”);
}
Read Solution (Total 6)
-
- Actually the printf statement is not built correctly.
if you build it perfectly it will shows
output as
Zohocorp Campuscorpp - 8 years agoHelpfull: Yes(4) No(0)
- error will be generated
in printf statement brackets were not closed - 8 years agoHelpfull: Yes(3) No(0)
- Zohocorp CampusCorpp
- 8 years agoHelpfull: Yes(0) No(1)
- incompatible implicit declaration of built-in function 'printf'.
- 8 years agoHelpfull: Yes(0) No(0)
- it will show error
- 7 years agoHelpfull: Yes(0) No(0)
- It will show error because in printf statement the close bracket is missing.
- 7 years agoHelpfull: Yes(0) No(0)
C Other Question
Find the Output.
main()
{
int i=3;
switch(i)
{
default:printf("zero");
case 1: printf("one");
break;
case 2:printf("two");
break;
case 3: printf("three");
break;
}}
Options:zero,one,three,run time error
write a logic for following series 2,6,15,35,143,221,323,437,..........