int main()
{
if(printf("Sai Ravi Kiran \n"))
{
}
}
A silly mistake such as omitting the curly braces in the empty "if" block would prove expensive as it is a compilation time error.
My name is Sai Ravi Kiran Mallampati. In this blog, I am writing blog posts about Ubuntu, UNIX Commands, IDE's, Java, C++ etc.,
#include
ReplyDeleteint main()
{
char nm[]="ANSWER";
printf(nm);
}
this is the best method::::
DeleteYour method didn't work at all,
Deletemay be this will help you...
#include
#include
{
clrscr();
if(printf("NAME"))
{
}
getch();
}
Do Try This..
Rakshita maam u have used semicolon in clrscr(); and getch();
Deleteand the objective is to print ur name widout semicolon
in above program it will give error bcoz there is no return 0; written so int main is replaced by void main
ReplyDeleteGood
ReplyDeletehttps://bayanlarsitesi.com/
ReplyDeleteOrdu
Kocaeli
Düzce
Osmaniye
QVT
Eskişehir
ReplyDeleteAdana
Sivas
Kayseri
Samsun
17D