Question: 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 namespacestd; 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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!