Is it possible to pass an entire structure to functions?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

given the piece of code int a[50]; int *pa; pa=a; to access the 6th element of the array which of the following is incorrect? a.*(a+5) b.a[5] c.pa[5] d.*(*pa + 5)

6 Answers   amu, TCS,


Implement a function that returns the 5th element from the end in a singly linked list of integers in one pass.

11 Answers   Microsoft,


what do you mean by enumeration constant?

0 Answers  


What are the types of i/o functions?

0 Answers  


What is meant by type specifiers?

0 Answers  






1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.

0 Answers  


Differentiate abs() function from fabs() function.

0 Answers  


Which is an example of a structural homology?

0 Answers  


atoi, which takes a string and converts it to an integer. write a program that reads lines(using getline), converts each line to an integer using atoi and computes the average of all the numbers read. also compute the standard deviation

0 Answers  


What is the use of define in c?

0 Answers  


How is a macro different from a function?

0 Answers   Tech Mahindra,


What will be the output of the following program #include<stdio.h> void main() { int i=20; i-=i+++++i++; printf("%d",i); }

5 Answers  


Categories