Wednesday, 17 October 2012

C Program to sort filenames in a directory?

How do you sort filenames in a directory?


The below example shows how to get a list of files one at a time. The example uses the _dos_findfirst() and _dos_findnext() functions to walk through the directory structure. As each filename is found, it is printed to the screen.

When you are sorting the filenames in a directory, the one-at- a-time approach does not work. You need some way to store the filenames and then sort them when all filenames have been

Thursday, 11 October 2012

Fundamental Rights and Its Nature

ప్రాథమిక హక్కులు – స్వభావం

        భారత రాజ్యాంగ సభ సలహాదారు బి.ఎన్.రావు రూపొందించిన ముసాయిదా ప్రకారం భారత రాజ్యాంగంలో రెండు రకాల హక్కులున్నాయి. వాటిని ప్రాథమిక హక్కులు (Fundamental Rights) గా, రాజ్యవిధాన ఆధేశ సూత్రాలు (Directive Principles of State Policy) గా పేర్కొనడం జరిగింది. భారత రాజ్యాంగ రచనను ఒక సామాజిక విప్లవంగా వర్ణించిన గ్రాన్విల్ ఆస్టిన్ ఈ రెండు రకాల హక్కులు భారతదేశంలో స్వేచ్ఛాయుత సామాజిక వికాసానికి అవసరమని పేర్కొన్నారు.  సమానత్వం, స్వేచ్ఛ, మతం తదితరాంశాలను ప్రాథమిక హక్కులుగా గుర్తించి వాటిని న్యాయ రక్షణకు అర్హమైనవిగా గుర్తించడం జరిగింది. ఉచిత ప్రాథమిక విద్య, పనిహక్కు, ప్రజారోగ్యం తదితర హక్కులను ఆదేశసూత్రాలు (Directive Principles) గా

Tuesday, 2 October 2012

History of the Andhras

Sources of History of Andhras till 1565 A.D.


'History as a subject of study is more or less completely at the mercy of its sources'. It is a fact that we have no ancient or medieval literature created in Andhra which can be classified as truly historical. So it is but natural one has to depend heavily on 'Primary source material of incidental nature, created not for the purpose of communicating the history of contemporary times chronologically set forth, but to record events and impressions for political, legal and religious purposes like the epigraphs of medieval times, the quasi-historical literary works and so forth'.

Just like ancient Indian history, the history of the Andhras is still in

Tuesday, 28 August 2012

Frequently Asked Questions in Technical Round at MNCs like TCS, WIPRO, INFOSYS,..etc – 15

Predict the output or error(s) for the following:


1)

main()

{

int i=_l_abc(10);


printf("%d\n",--i);


}

int _l_abc(int i)

{

 return(i++);


}

Answer:

9


Explanation:

Tuesday, 14 August 2012

Thursday, 10 May 2012

APPSC Groups Study material(Indian History)

INDUS VALLEY CIVILIZATION



  •      It is also known as Harappan Civilization

  •      It was discovered by Sir.Daya Ram Sahni in 1921.

  •      IVC extended in an area of 1.3 million square kms from,




  • Ÿ  Sutkagendar (Baluchistan) – West

  • Ÿ  Alamgirpur (U.P.) – East

  • Ÿ  Manda (Jammu) – North

  • Ÿ  Diamabad (Maharashtra) – South

  • Ÿ  (Mnemonic – SAMAD)




  •      The Indus Valley Civilization had its beginnings in Chalcolithic Age and had its maturity phase in Bronze Age.

  •      When Indus Valley Civilization was discovered in 1921, Sir. John Marshall was the head of Archeological Survey of India.


Features of IVC

Tuesday, 8 May 2012

APPSC Groups Study material(Indian History)

THE STONE AGE – EARLY MAN


The evolution of earth shows 4 stages. The fourth stage is called Quaternary which is divided into Pleistocene (most recent) and Holocene (present).

The History of Earth is divided into 3 Eras,


  1. Palaeozoic Era

  2. Mesozoic Era

  3. Cenozoic Era



The period before the Palaeozoic Era is called PRE-CAMBRIAN TIME.

Various Eras and Periods


1)      Pre-Cambrian Time