Ads 468x60px

Labels

Sample Text

Sep 17, 2011

C Program Without using Semicolon


Write a c program without using any semicolon which output will : Atmiya MCA.

Solution: 1 
void main(){ 
    if(printf("Atmiya MCA")){ 
    } 

Solution: 2 
void main(){ 
    while(!printf("Atmiya MCA")){ 
    } 

Solution: 3 
void main(){ 
    switch(printf("Atmiya MCA")){ 
    } 
}

0 comments:

Post a Comment