write a program that print itself even if the source file is
deleted?
Answers were Sorted based on User's Feedback
Answer / j.shakthi yokesh
@bitan:dude....if u don't mind,plz explain the code....i
didn't understand
| Is This Answer Correct ? | 0 Yes | 0 No |
Write code for initializing one dimentional and two dimentional array in a C Program?
5 Answers Deshaw, Edutech, GMD,
What will be result of the following program? void myalloc(char *x, int n) { x= (char *)malloc(n*sizeof(char)); memset(x,\0,n*sizeof(char)); } main() { char *g="String"; myalloc(g,20); strcpy(g,"Oldstring"); printf("The string is %s",g); } a) The string is : String b) Run time error/Core dump c) The string is : Oldstring d) Syntax error during compilation e) None of these
Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.
what is the difference between #include<stdio.h> and #include "stdio.h" ?
will u give me old quesrion papers for aptitude for L & t info tech?
What is use of bit field?
c program for searching a student details among 10 student details
What does sizeof int return?
What is the difference between fread and fwrite function?
How can you be sure that a program follows the ANSI C standard?
How do I declare a pointer to an array?
What is the right type to use for boolean values in c? Is there a standard type?