FirstRanker Logo

FirstRanker.com - FirstRanker's Choice is a hub of Question Papers & Study Materials for B-Tech, B.E, M-Tech, MCA, M.Sc, MBBS, BDS, MBA, B.Sc, Degree, B.Sc Nursing, B-Pharmacy, D-Pharmacy, MD, Medical, Dental, Engineering students. All services of FirstRanker.com are FREE

📱

Get the MBBS Question Bank Android App

Access previous years' papers, solved question papers, notes, and more on the go!

Install From Play Store

Download SGBAU BCA 2019 Summer 2nd Sem Advanced C Question Paper

Download SGBAU (Sant Gadge Baba Amravati university) BCA 2019 Summer (Bachelor of Computer Applications) 2nd Sem Advanced C Previous Question Paper

This post was last modified on 10 February 2020

This download link is referred from the post: SGBAU BSc Last 10 Years 2010-2020 Question Papers || Sant Gadge Baba Amravati university


FirstRanker.com
A Firstranker's choice


B.C.A. (Part—I) Semester—II Examination

--- Content provided by FirstRanker.com ---

25T2 : ADVANCED C

Time : Three Hours] [Maximum Marks : 60

Note :— (1) All questions are compulsory.

(2) Use suitable diagram wherever necessary.

  1. (a) Explain with example how string can be handled using char array. 6

    --- Content provided by FirstRanker.com ---

    (b) Write the purpose, syntax and example of following functions :
    (i) strrev()
    (ii) strset( )
    (iii) strcpy() 6
    OR

    --- Content provided by FirstRanker.com ---

    (a) Explain how string can be manipulated using arrays of pointers with suitable example. 6
    (b) Write the purpose, syntax and example of following functions :
    (i) strcmp() '
    (ii) strcat( )
    (iii) strupr( ) 6
  2. --- Content provided by FirstRanker.com ---

  3. (a) Explain the concept of local and global variable with suitable example.
    (b) Using function recursion, write a program in C to evaluate factorial of n. 6
    OR
    (a) Explain function prototype, function definition and function calling by using an example of function that adds three numbers. 6
    (b) Explain with syntax and suitable example :

    --- Content provided by FirstRanker.com ---

    (i) call by value
    (ii) call by pointer.
  4. (a) What do you mean by Union ? Explain with the help of suitable example.
    (b) What is Pointer to Structure ? Explain with suitable example.
    OR

    --- Content provided by FirstRanker.com ---

    (a) Compare union with structure using suitable example. 6
    (b) Explain how structures are defined using suitable example. How are structure members accessed ? 6
  5. (a) Explain fread and fwrite function with suitable example. 6
    (b) Explain the following functions with example :
    (i) fgetc()

    --- Content provided by FirstRanker.com ---

    (ii) fputc()
    (iii) fgets() 6
    OR
    (a) Write a program to enter following data in a file :
    Computer Science

    --- Content provided by FirstRanker.com ---

    Dennis Ritchie
    1986,
    59.76 6
  6. (a) Explain how memory can be allocated using malloc () in C with suitable example. 6
    (b) Explain the following functions with suitable example :

    --- Content provided by FirstRanker.com ---

    (i) feof
    (ii) ferror. 6
    OR
    (a) Explain line function in C. Write a graphics program to draw a triangle on screen using line function three times. 6
    (b) Write a program that uses the functions ftell and fseek. 6
  7. --- Content provided by FirstRanker.com ---


FirstRanker.com



This download link is referred from the post: SGBAU BSc Last 10 Years 2010-2020 Question Papers || Sant Gadge Baba Amravati university

--- Content provided by FirstRanker.com ---