What is the use of linkage in c language?
No Answer is Posted For this Question
Be the First to Post Answer
#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
What is the most efficient way to count the number of bits which are set in a value?
What does extern mean in a function declaration?
Is printf a keyword?
Write a function that accepts two numbers,say a and b and makes bth bit of a to 0.No other bits of a should get changed.
2 Answers Scientific Atlanta, Wipro,
how to write a bubble sort program without using temporary variable?
#include<stdio.h> int f(int,int); int main() { printf("%d",f(20,1)); return 0; } int f(int n,int k) { if(n==0) return 0; else if(n%2)return f(n/2,2*k)+k; else return f(n/2,2*k)-k; } how this program is working and generating output as 9....?
What is pass by reference in c?
What are the header files used in c language?
how many times does the loop iterated ? for (i=0;i=10;i+=2) printf("Hi\n");
what is void pointer?
Difference between exit() and _exit() function?