Feb 20 2008

ASCII Chart

Welcome to my blog :-) .If you’re new here, you may want to subscribe to my full RSS feed. Thanks for visiting!
After seeing this chart if you want to print say square root symbol all you have to do is specify the ASCII value for %c in printf
i.e to print square root..
printf(”%c Hi! [...]

Feb 20 2008

atoi,atol and atof functions

These functions are available under stdlib.h .These are very unknown functions.Lets see what these do..
atol()
atol returns the value in terms of long datatype of the string containing numbers.the syntax is
atol(stringvariable)
ex: consider the following program

TAGS: , ,
Feb 20 2008

Saving the output in a text file

consider the following c program
#include<stdio.h>
#include<conio.h>
main()
{
int i,n;
clrscr();
printf(”Enter limit\n”);
scanf(”%d”,&n);
printf(”I will print %d times\n”,n);
for(i=0;i<n;i++)
printf(”I luv C\n”);
}
the output will be

Feb 20 2008

How C Compiler decides the Garbage values in case of data overflow

Garbage value in case of data overflow
I did some intense R&D for garbage values and found these facts.After understanding these concepts u can tell what will be the garbage value to be stored in a variable in case of dataoverflow.
Here are some of the basic facts required to proceed
In case of windows(TC),
The space allocated [...]

Feb 20 2008

Dynamic Output in C

Dynamic output
consider the following program
 
 
#include<stdio.h>
int main()
{
long double a=3.14159265;
printf(”Value of pi=%.4Lf”,a);
return(1);
}
the output of the program will be
 
Value of pi=3.1416
wouldn’t it be nice if we allow the user to choose how the precession of the answer would be??
that is the output should be like this
 
Enter precision
6
The value of pi precised to 6 decimal number is 3.141593
Well in [...]

Page 1 of 212»

Shout at me :p

Last Message 1 week ago
1 guest is online.
  • Info : Please, resolve the addition below before post any new comment...
  • test45355243 : 3535435
  • test5q552525325243 : 35435435
  • test5q5525253252 : 2554325
  • test5q55252 : 5525235
  • test5q5 : q5q5
  • test : 5w5
  • Orwykzge : Wonderfull great site <a href=" «link» ">sex freaks xxx</a> >:PPP
  • Pierre : Your shoutbox is blank. Add a message!

What I'm Doing...

Posting tweet...