44-Write a program to display the string and character.
Program: 44
Write a program to display the string and character.
#include#includevoidmain(){charc='h';charstr[10]={'E','A','S','T','E','R'};charstr2[12]="SCIENCE";printf("Character value is: %c\n",c);printf("\n String array value is: %s",str);printf("\n String 2 Value is: %s",str2);getch();}
Lokesh Kumar: Being EASTER SCIENCE's founder, Lokesh Kumar wants to share his knowledge and ideas. His motive is "We assist you to choose the best", He believes in different thinking.
Leave a Comment