3 votes 3 votes What will be the output of the following segment of the program? main() { char *s=”hello world”; int i=7; printf(“%, *s, i, s); } syntax error hello w hello o world Programming in C ugcnetcse-june2013-paper3 + – go_editor asked Jul 17, 2016 • reopened May 26, 2020 by Arjun go_editor 1.7k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes Answer B sh!va answered Jul 17, 2016 sh!va comment Share Follow See all 5 Comments See all 5 5 Comments reply Show 2 previous comments Akhil01 commented Jul 17, 2016 reply Follow Share @sanjay sir what is incorrect in it ? 0 votes 0 votes Sanjay Sharma commented Jul 17, 2016 reply Follow Share printf(“%, *s, i, s); is wrong format specifiers are incomplete 1 votes 1 votes Akhil01 commented Jul 17, 2016 reply Follow Share ohh I did not see that .I thought that would be mistaken by the person who has posted this question . 0 votes 0 votes Please log in or register to add a comment.