javac is JAVA Compiler.
Type: Posts; User: aman15490; Keyword(s):
javac is JAVA Compiler.
If you are passionate about your purpose, of what you want to be; if you believe in yourself; you will do everything possible to make it happen. No one in this world can really stop you from reaching...
Yes malloc() allocates memory in contiguous location.
To verify it see this program
#include<stdio.h>
void main()
{
int *p;
int i;
p=(int *)malloc(5);
i=1;
No it is not essential to use sizeof() operator in malloc().
The prototype of malloc() function is :
type pointer= (type *) malloc(number of bytes);
Thus you can see that we only need to...
system() is used to issue system command .
it's prototype is present in stdlib.h
on success it returns 0 else it returns a -1.
System() accepts string as an argument
it's prototype is :
int...
The declaration of memset function is as follows
void* memset(void* s, int c, int n);
the memset function sets the first n bytes in s to c.
Generally this function is used to set a memory...
format specifiers for integer data type
short signed %d or %i
short unsigned %u
long signed %ld
long unsigned %lu
unsigned...
I Completely agree with what mohantyrk is saying.It returns the no of characters inside " " (Double quote). On error it returns EOF.
Just give me an code that will read charactrs from the console untill # is given and displayed them after #is hit. /* it's urgent please it will take your few minutes to type the code*/
please give me an difficult program in c which under the following chapters:- 1> loops 2> decision statements 3> arrays( upto two-dimension only) 4>and other programs on basics 5>strings.
Why c is a middle level language ?
Not at all !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Not at all ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
which of THE LOOPS IS BETTER?
1> for() loop
2> while() loop
3> do -while loop
and if so than whyyyyy???????????????
please please pleaseee.... give me the names of some good C books
you must write it as
printf("%d %d",a,b);
or it may also happen that you have written
printf("%d %d",b,a);
program for output as shown below taking input from user (i.e number of lines of the output) in c language (actually the correct output is not coming on the screen correctly,but what you are seeing...