Posts

Showing posts with the label header

File inclusion in c

There are two ways to include a file in c # include ”filename” #include<filename> 1st one  is search in  current directory  and  specify list of directory  and  it also take full qualified file name. 2nd one  is search in  specify list of director y. But It has a advantage that is it can take  multiple file Name  at a time that is separated by semicolon ( ; ). Example- #include<file 1; file 2; file 3>

How is the C language machine independent?

How is the C language machine independent? first of all c is  machine dependent  language, means we can not run a c program on another machine except in which it is programmed. machine independent  means source code of language can execute on any machine. ex java. View More

Why are header files needed in C?

Why are header files needed in C? Header file in any programming language used for including the library functions to that particular programming language. ex- stdio.h, conio.h, io.h and many more header files in c are used for including the library functions.

Header Function || How to Redirect in php

Header Function || How to Redirect in php Header is a fuction which is used to Redirect current page to specified page. syntax. 1).header(‘Location: specified_page_name ’); 2).header(“refreash;1;url= specified_page_name ”);       2nd statement takes you on specified page after 1 second.