Given a string write a program to print all alphabetical characters in the order of their occurance first,followed by the sum of the numeric characters then followed by the special characters in the order of their occurance.
Answer / rprabhakaranmca
INPUT: C212tr1is@y!is
OUTPUT:citrisus5@!
| Is This Answer Correct ? | 0 Yes | 3 No |
general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only
Suggesting that there can be 62 seconds in a minute?
Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings
What is difference between the following 2 lines…. int temp = (int)(0x00); int temp = (0x00int);
c program to subtract between two numbers without using '-' sign and subtract function.
How can you restore a redirected standard stream?
Define a structure to store roll no, name and marks of a student. Using the structure of above write a ‘C’ program to create a file “student.dat”. There must be one record for every student in the file. Accept the data from the user.
N O S I E R + A S T R A L ---------------- 7 2 5 6 1 3
what is the output of the below code? main( ) { printf ( "\nOnly stupids use C?" ) ; display( ) ; } display( ) { printf ( "\nFools too use C!" ) ; main( ) ; }
Write a simple code fragment that will check if a number is positive or negative.
to write a program, that finds the minimum total number of shelves, including the initial one, required for this loading process. The packets are named A, B, C, D, E …….. Any numbers of packets with these names could be kept in the shelf, as in this example: [ZZLLAAJKRDFDDUUGGYFYYKK]. All packets are to be loaded on cars. The cars are lined in order, so that the packets could be loaded on them. The cars are also named [A, B, C, D, E,………….].
what is dangling pointer?