MCQs>IT & Programming>Programming With C>What would be printed on the standard output as a result of the following code snippet? main( ) { char *str[ ] = { 'Manish' 'Kumar' 'Choudhary' }; printf ( '\nstring1 = %s', str[0] ); printf ( '\nstring2 = %s', str[1] ); printf ( '\nstring3 = %s', str[2] ); }
Programming With C MCQs
What would be printed on the standard output as a result of the following code snippet? main( ) { char *str[ ] = { "Manish" "Kumar" "Choudhary" }; printf ( "\nstring1 = %s", str[0] ); printf ( "\nstring2 = %s", str[1] ); printf ( "\nstring3 = %s", str[2] ); }