How to print all the 26 alphabets in this order in C.
AbCdEfGh.....
it should print dynamically from a to z and do not print
this using pgm like this print("Ab......");
Use loops or anything to print all alphabets
Answer Posted / jebarose
This can be done by using ASCII value...
ASCII value of A is 65
ASCII value of b is 98
Difference of Ab,Cd,Ef.(etc) is 33
A to C is 2.
This is the logic,while printing use %c,so tht it gets print
as Alphabets.
| Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
If the size of int data type is two bytes, what is the range of signed int data type?
please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................
What is getche() function?
the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset
Why do we need volatile in c?
Explain what are the advantages and disadvantages of a heap?
What is the use of void pointer and null pointer in c language?
What is define c?
What is the difference between the = symbol and == symbol?
How many types of functions are there in c?
What is a lvalue
What are the types of bitwise operator?
What are the loops in c?
Suggesting that there can be 62 seconds in a minute?
What is void main () in c?