APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY Previous Years Question Paper & Answer

Course : B.Tech

Semester : S1 and S2

Year : 2018

Term : MARCH

Branch : BIOTECHNOLOGY

Scheme : 2015 Full Time

Course Code : CS 100

Page:23





PDF Text (Beta):

int data[5], ‏زا‎ printf("Enter
elements: "); for(i 0: i< 5; ++i)
scanf("%d", data +
|); printf("You
entered: ന); for(i
= 0; i < 5; ++i)
printf("%d\n",
*(data+i)); return
0;
}
Output
Enter elements: 1
2
3
5
4
You entered:

1

نم ‎५‏ ہا >+

20.a) include
int main(){
int i, |, ന;
printf("Enter the number of lines required: ");
scanf("%d", &॥); — for(i=1;i<=n;i++){ for(j=1;j<=i;j++){
printf("%d\t", |);
}

Enter the number of lines required:5

printf("\n");

Similar Question Papers