What is the output of the following program?#include main() { char *s = 'Fine'; *s = 'N'; printf('%s', s); } - Study24x7
Social learning Network

Warning: include(./views/auth.php): failed to open stream: Permission denied in /var/www/html/live/loginRightSlider.php on line 18

Warning: include(): Failed opening './views/auth.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/live/loginRightSlider.php on line 18
7 followers study24x7 01 Jun 2021 11:44 AM study24x7 study24x7

What is the output of the following program?

#include<stdio.h> main() { char *s = "Fine"; *s = 'N'; printf("%s", s); }

A

Fine

B

Nine

C

Compile error

D

Runtime error

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles