Is there error in the judgment sustaining defendants’ demurrer to the complaint of plaintiffs, on the ground that the allegations contained therein are insufficient to state a cause of action ?
“The office of demurrer is to test the sufficiency of a pleading, admitting for the purpose, the truth of the allegations of the facts contained therein, and ordinarily relevant inferences of facts, necessarily deducible therefrom, are also admitted,” Stacy, C. J., in Ballinger v. Thomas, 195 N.C. 517, 142 S.E. 761. See also Dickensheets v. Taylor, 223 N.C. 570, 27 S.E. 2d 618; Penn v. Coastal Corp., ante, 481, and numerous other eases.
Both the statute, G.S. 1-151, and the decisions of this Court, applying the statute, require that the pleading be liberally construed, and that *651every reasonable intendment and presumption must be in favor of the pleader. A pleading must be fatally defective before it will be rejected as insufficient. Ins. Co. v. McCraw, 215 N.C. 105, 1 S.E. 2d 361; Cotton Mills v. Mfg. Co., 218 N.C. 560, 11 S.E. 2d 550; Corbett v. Lumber Co., 223 N.C. 704, 28 S.E. 2d 250; Sandlin v. Yancey, 224 N.C. 519, 31 S.E. 2d 532; Ferrell v. Worthington, 226 N.C. 609, 39 S.E. 2d 812; Presnell v. Beshears, 227 N.C. 219, 41 S.E. 2d 835; Winston v. Lumber Co., 227 N.C. 339, 42 S.E. 2d 218; Wilson v. Chastain, 230 N.C. 390, 53 S.E. 2d 290; Davis v. Rhodes, ante, 71, 56 S.E. 2d 43.
Moreover, the liberal rule of construction is that the court will grant relief according to the facts alleged and proved, though there be no formal prayer for relief corresponding with the allegations, and even though relief of another kind may be demanded. McIntosh N. C. P. & P., Section 370 (2). Voorhees v. Porter, 134 N.C. 591, 47 S.E. 31; Bradburn v. Roberts, 148 N.C. 214, 61 S.E. 617.
Applying these principles to the allegations of the complaint, we are unable to say that in no view no cause of action is stated.
As to the first ground upon which demurrer is based: Defendants, in their brief filed in his Court, now concede that in this State the provisions of the statute of frauds, G.S. 22-2, may not be taken advantage of by demurrer. See Flemmings v. Doss, 125 N.C. 400, 34 S.E. 511, and cases cited. See also Embler v. Embler, 224 N.C. 811, 32 S.E. 2d 619.
As to the other grounds upon which the demurrer is based, it appears that the complaint alleges, at least, that $1,000 of the original loan to the Eraggs was unspent and in the hands of the defendant Building and Loan Association at the time plaintiffs entered the picture, and that the Building and Loan Association agreed with plaintiffs that it would pay this amount in completing the unfinished dwelling in the respects detailed, and that it, the Building and Loan Association, later declined to do so. Taking these allegations to be true, it would seem that the complaint is not fatally defective.
Hence the judgment sustaining the demurrer is
Reversed.