What is pointer and structure in c?


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

Post New Answer

More C Interview Questions

main() {int i=5; // line 1 i=(++i)/(i++); // line 2 printf("%d",i); // line 3 } output is 2 but if we replace line 2 and line 3 by printf("%d",i=(++i)/(i++)); then output is 1. Why?

1 Answers   GATE,


if a five digit number is input through the keyboard, write a program to calculate the sum of its digits. (hint:-use the modulus operator.'%')

23 Answers  


What are dangling pointers? How are dangling pointers different from memory leaks?

1 Answers  


What are shell structures used for?

0 Answers  


What do you mean by dynamic memory allocation in c? What functions are used?

0 Answers  


What is the difference between ++a and a++?

0 Answers  


#include <stdio.h> void main() { int i=-1,j=1,k,l; k=!i&&j; l=!i||j; printf ("%d%d",k,l) ; }

3 Answers   SRG,


4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.

0 Answers   TCS,


What is hashing in c?

0 Answers  


Are there namespaces in c?

0 Answers  


What is nested structure with example?

0 Answers  


12345 1234 123 12 1

2 Answers  


Categories