हिंदी

BE Chemical Engineering छमाही २ (इंजीनियरिंग) - University of Mumbai Question Bank Solutions for Structured Programming Approach

Advertisements
विषयों
अध्याय
विषयों
मुख्य विषय
अध्याय
Advertisements
Advertisements
Structured Programming Approach
< prev  81 to 88 of 88  next > 

Explain recursive function. Write a program to find the GCD of a number by using recursive function. 

[12] Functions and Parameter
Chapter: [12] Functions and Parameter
Concept: undefined >> undefined

Predict output of following program segment.
main()
{
int a,b,*p1,*p2,x,y;
clrscr();
a=48;b=10;p1=&a;p2=&b;
x=*p1**p2-8;
*p1=*p1+*p2;
y=(*p1/ *p2)+20;
printf("%d%d%d%d%d%d",*p1,*p2,a,b,x,y);
}

[10] Fundamentals of C-Programming
Chapter: [10] Fundamentals of C-Programming
Concept: undefined >> undefined

Advertisements

Predict output of following program segment.

main()
{
int x=4, y=9,z;
clrscr();
z=x++ + --y+y;
printf("\n%d%d%d",x,y,z);
z= --x+x+y--;
printf("\n%d%d%d",x,y,z);
getch();
}

[10] Fundamentals of C-Programming
Chapter: [10] Fundamentals of C-Programming
Concept: undefined >> undefined

What is recursion? WAP using recursion to find the sum of array elements of size n.

[12] Functions and Parameter
Chapter: [12] Functions and Parameter
Concept: undefined >> undefined

WAP to print following pattern for n lines. [Note: range of n is 1-9]

1
121
12321
1234321

[10] Fundamentals of C-Programming
Chapter: [10] Fundamentals of C-Programming
Concept: undefined >> undefined

WAP to print binary equivalent of entered decimal no.

[10] Fundamentals of C-Programming
Chapter: [10] Fundamentals of C-Programming
Concept: undefined >> undefined

What is the usage of storage classes? Explain extern storage classes with suitable example.

[12] Functions and Parameter
Chapter: [12] Functions and Parameter
Concept: undefined >> undefined

what is significance of storage classes? Explain it with relevant examples.

[12] Functions and Parameter
Chapter: [12] Functions and Parameter
Concept: undefined >> undefined
< prev  81 to 88 of 88  next > 
Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×