1. Write a function to display the sum of two numbers in the following ways:
By using (i) pass by value (ii) pass by address
a. function with argument and with return value
b. function with argument and without return value
c. without argument , with return value
d. without argument , without return value
Note: Use pass by address.
No Answer is Posted For this Question
Be the First to Post Answer
void main() {int a[5],i,b=16; for(i=0;i<5;i++) a[i]=2*i; f(a,5,b); for(i=0;i<5;i++) printf("\n %d",a[i]); printf("\n %d",b); } f(int *x,int n,int y) { int i; for(i=0;i<n;i++) *(x+i)+=2; y=y+2; }wat r the errors in the prg.and improvise the prg to get o/p.?
Write a program to print distinct words in an input along with their count in input in decreasing order of their count..
ASCII stands for
How can I manipulate strings of multibyte characters?
wat s the meaning of (int *)p +4;
What is Full Form of C and Why We use C
which types of data structure will i use to convert infix to post fix???
#include<stdio.h> main() { int a[3]; int *I; a[0]=100;a[1]=200;a[2]=300; I=a; Printf(“%d\n”, ++*I); Printf(“%d\n”, *++I); Printf(“%d\n”, (*I)--); Printf(“%d\n”, *I); } what is the o/p a. 101,200,200,199 b. 200,201,201,100 c. 101,200,199,199 d. 200,300
Reverse the bit order in a single macro. eg. i/p = 10010101 --> o/p = 10101001
What is hashing in c language?
What is #include in c?
What are the 5 elements of structure?