What are header files? What are their uses?
No Answer is Posted For this Question
Be the First to Post Answer
What are the different types of errors?
Consider a language that does not have arrays but does have stacks as a data type.and PUSH POP..are all defined .Show how a one dimensional array can be implemented by using two stacks.
How can I prevent another program from modifying part of a file that I am modifying?
What is null in c?
int i=~0; uint j=(uint)i; j++; printf(“%d”,j);
Which is the memory area not included in C program? give the reason
#include<stdio.h> int main( ) { Int a=300, b, c; if(a>=400) b=300; c=200; printf(“%d%d ”, b, c); return0; }
Explain the difference between #include "..." And #include <...> In c?
what will be maximum number of comparisons when number of elements are given?
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.
the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?
What will be your course of action for a push operation?