I have a function which accepts, and is supposed to
initialize,a pointer, but the pointer in the caller remains
unchanged.
Answer / guest
The called function probably altered only the passed copy of
the pointer.
Is This Answer Correct ? | 2 Yes | 0 No |
What functions are used in dynamic memory allocation in c?
main() { printf(5+"Vidyarthi Computers"); }
1.find the second maximum in an array? 2.how do you create hash table in c? 3.what is hash collision
what is the difference between malloc() and calloc() function?
Explain the meaning of keyword 'extern' in a function declaration.
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.
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
#define min((a),(b)) ((a)<(b))?(a):(b) main() { int i=0,a[20],*ptr; ptr=a; while(min(ptr++,&a[9])<&a[8]) i=i+1; printf("i=%d\n",i);}
Diff: between this 2 classes in terms of memory class A { int i; char c; double d; }; class A { double d; int i; char c; }; How it is calculating?
FIND THE OUTPUT IF THE INPUT IS 5 5.75 void main() { int i=1; float f=2.25; scanf("%d%f",&i,&f); printf("%d %f",,i,f); } ANSWER IS 5 AND 2.25 WHY?
Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?
what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values
0 Answers College School Exams Tests,