Ads

Friday, November 27, 2009

Deepam Festival on Dec 1

I am a native of Tiruvannamalai. I am going today for Karthigai Deepam festival which is famous in my hometown. Hope you might have heard of the festival. It's a 10-day long festival and on the 10th day Deepam will be lit on the top of the hill.
When I was in school, we would eagerly wait for the festival to come because we would get 10-day holiday[after our half yearly exams get over]. We used to visit temporary shops & exhibitions which will be opened for the festival. It used to be lot of fun those days.
This year the deepam festival[10th day] will be celebrated on Dec, 1, 09. If you people get time to watch TV, please do see the festival live [I think broadcasters will be DD Podhigai, Raj TV, Sun News, Jaya TV] @ 6PM. Wishing you a Happy Deepam in advance.

BTW, the answers for previous post [Quiz] are given below:
1) Gurkhas are the original inhabitants from Nepal
2) Who was the first man to reach north pole - Rear Admiral Robert E.Peary
3) First secretary general of UNO - Trygve Lie
4) Nick name of new york city - Big apple

Tuesday, November 24, 2009

GK Questions

Hi,

Please try to answer the below questions

1) Where from Gurkhas inhabit?
2) First man to reach North Pole?
3) First secretary general of UNO?
4) Nickname of Newyork City?

Thursday, November 19, 2009

Why Program in C++?

So what is so special about C++? Why should you use C++ to develop your applications? First, C++ is not the best language to use in every instance. C++ is a great choice in most instances, but some special circumstances would be better suited to another language.

There are a few major advantages to using C++:

1. C++ allows expression of abstract ideas

C++ is a third generation language that allows a programmer to express their ideas at a high level as compared to assembly languages.

2. C++ still allows a programmer to keep low-level control

Even though C++ is a third generation language, it has some of the "feel" of an assembly language. It allows a programmmer to get down into the low-level workings and tune as necessary. C++ allows programmers strict control over memory management.

3. C++ has national standards (ANSI)

C++ is a language with national standards. This is good for many reasons. Code written in C++ that conforms to the national standards can be easily integrated with preexisting code. Also, this allows programmers to reuse certain common libraries, so certain common functions do not need to be written more than once, and these functions behave the same anywhere they are used.

4. C++ is reusable and object-oriented

C++ is an object-oriented language. This makes programming conceptually easier (once the object paradigm has been learned) and allows easy reuse of code, or parts of code through inheritance.

5. C++ is widely used and taught

C++ is a very widely used programming language. Because of this, there are many tools available for C++ programming, and there is a broad base of programmers contributing to the C++ "community".

Wednesday, November 18, 2009

Few C++ Programs

Answer for Previous Post: Ventriloquist.

Ventriloquism is an act of stagecraft in which a person (a Ventriloquist) manipulates his or her voice so that it appears that the voice is coming from elsewhere, usually a puppeteered "dummy".

Please try to solve below C++ Programs.

1)

main()
{
float i = 1.1;
double j = 1.1;
if(i==j)
printf("Equal value");
else
printf("Not an equal value");
}

Answer: Not an equal value

2)

main()
{
int i=-1,j=-1,k=0,l=2,m;
m=i++&&j++&&k++||l++;
printf("%d %d %d %d %d",i,j,k,l,m);
}

Answer: 0 0 1 3 1

3)

main()
{
char string[]="Hello World";
display(string);
}
void display(char *string)
{
printf("%s",string);
}

Answer: the function "display" definition should be before the main funtion. otherwise the parameter "string" datatype will be considered as int by default.

Friday, November 13, 2009

Guess the profession :)

Hi All,

This is my first post in Learning curve blog.

I hope you people have seen recent ad of Aamir Khan in Tata Sky. He actually appears along with a monkey doll and he gives voice for monkey also. In Aval oru thodarkadhai and Avargal, Kamal also appeared the same way wherein he produces different sound. Now my question is what do you call such people? I mean you call people who does magic as magician & so on. Similar way what you call people who along with monkey-kind-of doll creates different voice.

Please go thro' my blog whenever you people find time. [Its http://jayamurugan.blogspot.com].

By the way, Thanks for Ramesh for adding me to this blog as a member & Owner.