Browsing all articles tagged with Octal literal - Share Programming Tips
Sep
26

Concept of Octal literal in C

One day while debugging  one code i got one interesting things ..let me explain you by bellow’s  example.

#include<stdio.h>
main()
{
int a=010;
printf("a is %d",a);
}

if you think output of this program will

“a  is  10″

then your are missing something….

read more

Follow us on Twitter! Follow us on Twitter!

Search in this website

our sponsors

latest comments

Find us on Facebook

Top Authors

35 posts
saurabh
21 posts
9 posts

Find us on stackoverflow

Polls

Tell us who you are

View Results

Loading ... Loading ...

My Bookmarks

Sponsers Link