Assignment 3

  • May 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Assignment 3 as PDF for free.

More details

  • Words: 243
  • Pages: 2
Q1. What will be the output of the following program segment : void main() { int array[]={2,3,4,5}; int *arptr = array; int value = *arptr; cout<>y; for(i=count-1;i>=0,i--) switch(i) { case 0: case 2:cout<>y+x[i]; } } Q6. Give the output of the following program : #include

struct point { int x,y; }; void showpoint p) { cout< int calc(int u) { if(u%2==0) return u+10; else return u*2; } void pattern(char M, int B=2) { for(int cnt=0;cnt

Related Documents

Assignment 3
November 2019 20
Assignment 3
May 2020 21
Assignment 3
June 2020 13
Assignment#3
May 2020 26
Assignment 3
June 2020 17