Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write the output of the programs. 1. #include using namespace std; void main(void) Output : int a[9]={1,2,3,4,5,6,7,8,9}; int * p=a,sum=0; for(;p using namespace std; void
Write the output of the programs. 1. #include using namespace std; void main(void) Output : int a[9]={1,2,3,4,5,6,7,8,9}; int * p=a,sum=0; for(;p using namespace std; void main(void) char *s="ab5eafegdacdf",*p; Output : int i,ja={0,0,0,0}; for(p=s;*p!=\\\\0";p++) j=*p-'a"; if(j>=0&&j using namespace std; void main(void) Output : char b="ab12cd34ef",*a=b; int i,j; for(i=j=0;a[i];i+ +) if(a[i]>="a'&&a[i]
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started