3i Infotech Papers: Sample Questions 183 - 185 of 1245

Examrace Placement Series prepares you for the toughest placement exams to top companies.

Question number: 183

» Operating System » Unix

Short Answer Question▾

Write in Short

How can you get/set an environment variable from a program?

Explanation

  • An environment variable is accessed using getenv ().

  • And set using the function putenv ().

Question number: 184

» Languages » C & C Plus Plus

Essay Question▾

Describe in Detail

  1. #include<studio.h>
  2. main ()
  3. {
  4.     char s[] = { ‘a’ ‘b’ ‘c’ ‘ ’ ‘c’ ‘