how does printf function work
1)printf() is a built in library function which is defined
in <stdio.h> header file...
2) in printf(); function we can pass
1) entire string within "...." like :
eg: printf("my name is vignesh");
2) string with list of variables like :
eg: printf("%d%d" , i,j);
| |
first second
argument argument
3) like every function returns a value , PRINTF returns the
no. of characters which is inside "...".
eg: printf("%d",printf("hai how are u?"));
the output will be 14.....
4) printf() function is having direct contact with VDU
(video display unit) in the system..... so only it is
displayin every thing in the screen...........
thank u
| Is This Answer Correct ? | 7 Yes | 4 No |
Find the middle node in the linked list?? (Note:Do not use for loop, count and count/2)
Write a program that receives as input a number omaadel-n-print, four digits.
Why is #define used?
#include<stdio.h> int SumElement(int *,int); void main(void) { int x[10]; int i=10; for(;i;) { i--; *(x+i)=i; } printf("%d",SumElement(x,10)); } int SumElement(int array[],int size) { int i=0; float sum=0; for(;i<size;i++) sum+=array[i]; return sum; } output?
Explain #pragma in C.
Efficient data structure for store/search list of 1000 records a)array b)double linked list c)circular queue d)hash table
Do you know what is a programing language ?
What is array in C
How does free() know how many bytes to free?
Differentiate between Macro and ordinary definition.
write a program that print itself even if the source file is deleted?
Are global variables static in c?