How to print a semicolon (;) without using semicolon in C

2 Answers

0 votes
#include <stdio.h>

int main() 
{ 
	putchar(59);
     
    return 0; 
} 
   
  
      
/*
run:
       
;
  
*/

 



answered Jul 3, 2020 by avibootz
0 votes
#include <stdio.h>

int main() 
{ 
	printf("%c", 59);
     
    return 0; 
} 
   
  
      
/*
run:
       
;
  
*/

 



answered Jul 3, 2020 by avibootz

Related questions

1 answer 211 views
1 answer 145 views
1 answer 125 views
1 answer 140 views
1 answer 171 views
1 answer 101 views
...