What is c preprocessor mean?
No Answer is Posted For this Question
Be the First to Post Answer
can we write a c program with out using main
Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.
write an interactive C program that will encode or decode a line of text.To encode a line of text,proceed as follows. 1.convert each character,including blank spaces,to its ASCII equivalent. 2.Generate a positive random integer.add this integer to the ASCII equivalent of each character.The same random integer will be used for the entire line of text. 3.Suppose that N1 represents the lowest permissible value in the ASCII code,and N2 represents the highest permissible value.If the number obtained in step 2 above(i.e.,the original ASCII equivalent plus the random integer)exceeds N2,then subtract the largest possible multiple of N2 from this number,and add the remainder to N1.Hence the encoded number will always fall between N1 and N2,and will therefore always represent some ASCII character. 4.Dislay the characters that correspond to the encoded ASCII values. The procedure is reversed when decoding a line of text.Be certain,however,that the same random number is used in decodingas was used in encoding.
I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...
how should functions be apportioned among source files?
how to print 2-D array using a single for loop?
2 Answers Mind Tree, TCS, Value Labs,
main() { int x=2, y=4 if ((x==2||y==4) x++ y++ if (y==4+1) { x=x+y; } y++; printf("The values of x and y are %d and %d."x,y); } What is the output?
what are the files which are automatically opened when a c file is executed?
What is the restrict keyword in C?
what is the use of pointers
will the program compile? int i; scanf(ā%dā,i); printf(ā%dā,i);
write a program to find the given number is prime or not
2 Answers Accenture, Vasutech,