What will be the result of the following C language program?
main()
{
int a = 0; int b = 20; char x = 1; char y = 10;
if(a,b,x,y)
printf("Welcome");
}
#include<stdio.h> int main(){ int a[]={1,2,3,5,1}; int *ptr=a+4; int y=ptr-a; printf("%d",y); }
How are variables declared in c?
What do you understand by friend-functions? How are they used?
Why are all header files not declared in every c program?
write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?
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 can I access an I o board directly?
Compare interpreters and compilers.
How can I change the size of the dynamically allocated array?
What are the disadvantages of a shell structure?
What is the value of uninitialized variable in c?
How to find a missed value, if you want to store 100 values in a 99 sized array?