write aprogram for
There is a mobile keypad
with numbers 0-9 and alphabets on it. take input of 7 keys
and then form a
word from the alphabets present on those keys.
In which mode we open the file for read,write and append also in c ? a)W b)w+ c)r+ d)a
What is the real time usage volatile?
simple c program for 12345 convert 54321 with out using string
Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.
1)which of following operator can't be overloaded. a)== b)++ c)?! d)<=
Where is volatile variable stored?
How can I read a directory in a C program?
2 Answers Bright Outdoor, Wipro,
How do you print only part of a string?
a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above
void main() {int a[5],i,b=16; for(i=0;i<5;i++) a[i]=2*i; f(a,5,b); for(i=0;i<5;i++) printf("\n %d",a[i]); printf("\n %d",b); } f(int *x,int n,int y) { int i; for(i=0;i<n;i++) *(x+i)+=2; y=y+2; }wat r the errors in the prg.and improvise the prg to get o/p.?
how does the C compiler interpret the following two statements p=p+x; q=q+y; a.p=p+x; q=q+y b.p=p+xq=q+y c.p=p+xq; q=q+y d.p=p+x/q=q+y
What is the purpose of the preprocessor directive error?