Articles Archive for October 2009
C and C++, Tech Corner »
Data stored in program variables and arrays are temporary in nature. Such data is normally stored in the main memory(RAM) of the computer and it will be lost when the program. The best way to work with or process a large data is to store that data permanently in the computer’s memory.
To store data permanently we can use the secondary storage devices such as hard disks and magnetic tapes.
The data stored on the secondary storage devices is viewed as the data files.
File
A data file(or simply file) is a collection of …
Read the full Post »ASP.Net, Tech Corner, Technical Interview »
Explain .Net Web Service?
A Web service allows you to publish an application’s function on the internet that can be accessed through another application.A very common example is the currency exchange rates available in many web sites.In most of the cases,this module will not even reside on the server on which the web site has been uploaded,but it may be using a webservice that gives the functionality.In Short, Web services are components that can be used by other applications.The definite advantage is reusability and that web services are platform and language …
C and C++, Tech Corner »
Preprocessor – This is a macroprocessor that processes the source program before it is compiled. It is a collection of special statements called preprocesor statements or preprocessor directives.
These directives are executed before the C program passes through the compiler.
Preprocessor Directives – These are statements which begin with the # symbol placed in the first coloumn.
They are placed before the function main().
There will be no smicolon at the end of such statements.
Three types -
Macro substitution directives
File inclusion directives
Conditional compilation directives
Macro Substitution
This is a process of replacing an identifier of a C …
Read the full Post »Formula 1, The Game »
Lewis Hamilton badly wanted to win in Singapore after his slip up recently at Monza, and he drove a perfect race for McLaren to deliver a richly deserved triumph. This was his second victory of 2009, on another weekend he totally dominated. But the McLaren driver would have had a tougher fiht on his hands if his two closest challengers, Nico Rosberg and Sebastian Vettel, hadn’t been handed penalties for pit lane transgressions. Rosberg must be kicking himself, as he was running a comfortable second when he pitted on Lap …
Read the full Post »C and C++, Tech Corner »
To know where exactly the value of a variable is stored in the memory, you need to be aware of the concept called pointers.
A pointer is a powerful construct of the C programming language.
A pointer is a variable which holds the address of other variables such as arrays, structures and functions that are used in a program.
It contains only the memory location of the variable rather than its content.
Advantages
To point to different data structures.
Manipulation of data at different memory locations is easier.
To achieve clarity and simplicity.
More compact and efficient coding.
To …