There were 10 records stored in “somefile.dat” but the
following program printed 11 names. What went wrong?
char name, rollno;
FILE *fp = fopen(“somefile.dat”,”r”);
fread(&stud, sizeof(stud), 1 , fp);
Hi, i have a project that the teacher want a pyramid of
numbers in C# or java...when we click a button...the
pyramid should be generated in a listbox/or JtextArea...and
the pyramid should have the folowing form:
Plz help with codes...didn't find anything on the net.
create Drop-Down Navigation Menus
how to pass data between pages using Cookies
how exactly is the lngColour used?
What is the functionality of GetDesktopWindow?
Is it possible to write JAVA program without including any
of the packages,such as "import java.io.*";
bcoz I instantly wrote a code without "import..." statement
and runned the program on command Line & it worked.
the code is:
Person(String s,int a)
name = s;
age = a;
public static void main(Strings args)throws
String name = args;
int age = Integer.parseInt(args);
Person p = new Person(name,age);
i have some csv files in a directory which have sub-directories also. now how can i merge all .csv files in to one with a single header.
have some 4 files.
now my output file should be like
and please explain the code for me. as i am new to scripting. thank you in advance
how to programme using switch statements and fuctions, a
programme that will output two even numbers, two odd numbers
and two prime numbers of the users chioce.
1.What type of material can be sent from a Java servlet to
a browser ? How does the browser know how to deal with the
2.Explain what happens to a servlet when a servlet engine
is sent a GET request.
can we pass variable in array to traverse it?
What is data _null_? ,Explain with code when u need to use
it in data step programming ?
why do you use macros? Explain a situation where you had to
incorporate macros in your proc report? use a simple
instream data example with code ?
why nlogn is the lower limit of any sort algorithm?