Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q1: What is the output of following code vold fun(int ptr) ptr 30F int main int y 20; funfsy printt(%d, y); return o; 02: What

image text in transcribed

Q1: What is the output of following code vold fun(int "ptr) ptr 30F int main int y 20; funfsy printt("%d", y); return o; 02: What is the output of following code? int maino f int arri) (1, 2, 3, 4, S int "p- arr; p+= 2; printf("%d", "p); return 0; Q3: circle the correct answer: oved forward and backward The name of an array is a pointer to its first element, but it cannot be m like a pointer. A: TRUE B: FALSE Q4: In the back of this paper, write your own implementation of one of the following functions: 1. Function countNonAlpha) that returns the number of non-alphabet characters in a string int countNonAlphafchar strll Example.' countNonAlpha("Hello % world @ 2018.) returns 6 2. Function stringLength) that takes a null-terminated string and returns its number of charact int stringlengthfchar tol) Example: stringlengthf Hello world") returns 11, stringlength(") returns O

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle 10g Database Administrator Implementation And Administration

Authors: Gavin Powell, Carol McCullough Dieter

2nd Edition

1418836656, 9781418836658

More Books

Students also viewed these Databases questions

Question

What is the top-selling product by total revenue overall?

Answered: 1 week ago

Question

Which state had the highest total revenue overall?

Answered: 1 week ago