write a C program:There is a mobile keypad with numbers 0-9
and alphabets on it. Take input 0f 7 keys and then form a
word from the alphabets present on the keys.
What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }
Explain how do you determine the length of a string value that was stored in a variable?
main() { charx; while (x=0;x<=255;x++) printf("\nAscii value %d Character %c,x,x); }
Design a program using an array that lists even numbers and odd numbers separately from the 12 numbers supplied by a user.
find the minimum of three values inputted by the user
write c program to display output 10(10+20)+(10+20+30)+ ... n term
0 Answers Hindustan Gum Chemicals,
What is the difference between typedef struct and struct?
How to Clear last bit if it 1 using Macro TURN_OFF_BIT_LAST
How can you determine the maximum value that a numeric variable can hold?
What is Dynamic memory allocation in C? Name the dynamic allocation functions.
What is the difference between text and binary i/o?
char S; char S[6]= " HELLO"; printf("%s ",S[6]); output of the above program ? (0, ASCII 0, I,unpredictable)